Skip to content

Commit b33a9b2

Browse files
committed
Auto merge of #14244 - dieterplex:migrate-gct-snapbox, r=epage
Migrate global_cache_tracker snapbox Part of #14039. Some of these tests may require to assert specific removed file count or size that would be redact by current design. Need feedback to come out solution. Temporary commit to pass the tests and illustrate what need to fix.
2 parents 52a2630 + 8686273 commit b33a9b2

File tree

2 files changed

+155
-144
lines changed

2 files changed

+155
-144
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ fn add_regex_redactions(subs: &mut snapbox::Redactions) {
188188
.unwrap();
189189
subs.insert(
190190
"[HASH]",
191-
regex!(r"home/\.cargo/registry/src/-(?<redacted>[a-z0-9]+)"),
191+
regex!(r"home/\.cargo/registry/(cache|index|src)/-(?<redacted>[a-z0-9]+)"),
192192
)
193193
.unwrap();
194194
subs.insert(

0 commit comments

Comments
 (0)