Skip to content

Commit

Permalink
hello
Browse files Browse the repository at this point in the history
  • Loading branch information
flub committed Dec 14, 2023
1 parent bc37cce commit 4bd1349
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ pub fn extract_test_name_from_backtrace(module_path: &str) -> String {
.filter_map(|x| x.name())
.map(|x| x.to_string())
{
dbg!(&symbol);
if let Some(symbol) = dbg!(symbol.strip_prefix(module_path)) {
if let Some(symbol) = symbol.strip_suffix("::{{closure}}") {
return symbol.to_string();
Expand Down

0 comments on commit 4bd1349

Please sign in to comment.