Skip to content

Commit

Permalink
Auto merge of #14244 - dieterplex:migrate-gct-snapbox, r=epage
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jul 17, 2024
2 parents 52a2630 + 8686273 commit b33a9b2
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 144 deletions.
2 changes: 1 addition & 1 deletion crates/cargo-test-support/src/compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ fn add_regex_redactions(subs: &mut snapbox::Redactions) {
.unwrap();
subs.insert(
"[HASH]",
regex!(r"home/\.cargo/registry/src/-(?<redacted>[a-z0-9]+)"),
regex!(r"home/\.cargo/registry/(cache|index|src)/-(?<redacted>[a-z0-9]+)"),
)
.unwrap();
subs.insert(
Expand Down
Loading

0 comments on commit b33a9b2

Please sign in to comment.