Skip to content

Commit 6a684ed

Browse files
committed
test: fix the [FINISHED] escape
1 parent 153856f commit 6a684ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cargo-test-support/src/compare.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ fn add_common_redactions(subs: &mut snapbox::Redactions) {
149149
// For e2e tests
150150
subs.insert(
151151
"[ELAPSED]",
152-
regex!(r"[FINISHED].*in (?<redacted>[0-9]+(\.[0-9]+))s"),
152+
regex!(r"\[FINISHED\].*in (?<redacted>[0-9]+(\.[0-9]+))s"),
153153
)
154154
.unwrap();
155155
// for UI tests

0 commit comments

Comments
 (0)