Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/analysis/nextest/nextest_line_analyser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fn is_location_v3(content: &TLine) -> bool {
return false;
}
regex_is_match!(
r#"^\s*thread '.+' panicked at [^:\s'"]+:\d+:\d+:$"#,
r#"^\s*thread '.+'( \(\d+\))? panicked at [^:\s'"]+:\d+:\d+:$"#,
&ts.raw
)
}
Expand Down
4 changes: 2 additions & 2 deletions src/analysis/standard/standard_line_analyser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fn analyze_line(cmd_line: &CommandOutputLine) -> LineAnalysis {
} else if regex_is_match!(r#"^\s+--> [^:\s'"]+:\d+:\d+$"#, content) {
// this comes up in test failures to compile
LineType::Location
} else if regex_is_match!(r#"^thread '.+' panicked at [^:\s'"]+:\d+:\d+:$"#, content) {
} else if regex_is_match!(r#"^thread '.+'( \(\d+\))? panicked at [^:\s'"]+:\d+:\d+:$"#, content) {
// this comes up in test failures
LineType::Location
} else {
Expand Down Expand Up @@ -122,7 +122,7 @@ fn analyze_line(cmd_line: &CommandOutputLine) -> LineAnalysis {
}
(Some(content), None) => {
if regex_is_match!(
r#"^\s*thread '.+' panicked at [^:\s'"]+:\d+:\d+:$"#,
r#"^\s*thread '.+'( \(\d+\))? panicked at [^:\s'"]+:\d+:\d+:$"#,
&content.raw
) {
// this comes up in nextest failures
Expand Down