Skip to content

Commit 281d123

Browse files
committed
docs(cargo-test-support): Insertion order of redactions doesn't matter
rust-lang#14161 (comment)
1 parent 34af338 commit 281d123

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ fn add_common_redactions(subs: &mut snapbox::Redactions) {
205205
// "1719325877.527949100s, 61549498ns after last build at 1719325877.466399602s"
206206
// "1719503592.218193216s, 1h 1s after last build at 1719499991.982681034s"
207207
// into "[DIRTY_REASON_NEW_TIME], [DIRTY_REASON_DIFF] after last build at [DIRTY_REASON_OLD_TIME]"
208-
// The ordering of these 3 subs matters.
209208
subs.insert(
210209
"[DIRTY_REASON_NEW_TIME]",
211210
regex!(r"(?<redacted>[0-9]+(\.[0-9]+)?s), (\s?[0-9]+(\.[0-9]+)?(s|ns|h))+ after last build at ([0-9]+(\.[0-9]+)?s)"),

0 commit comments

Comments
 (0)