mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
test: fix the [FINISHED]
escape
This commit is contained in:
parent
153856fe14
commit
6a684edcb6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user