Skip to content

Commit

Permalink
test: fix the [FINISHED] escape
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Jun 18, 2024
1 parent 153856f commit 6a684ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cargo-test-support/src/compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ fn add_common_redactions(subs: &mut snapbox::Redactions) {
// For e2e tests
subs.insert(
"[ELAPSED]",
regex!(r"[FINISHED].*in (?<redacted>[0-9]+(\.[0-9]+))s"),
regex!(r"\[FINISHED\].*in (?<redacted>[0-9]+(\.[0-9]+))s"),
)
.unwrap();
// for UI tests
Expand Down

0 comments on commit 6a684ed

Please sign in to comment.