test: fix the [FINISHED] escape

This commit is contained in:
Weihang Lo 2024-06-18 13:58:56 -04:00
parent 153856fe14
commit 6a684edcb6
No known key found for this signature in database
GPG Key ID: D7DBF189825E82E7

View File

@ -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