Auto merge of #14159 - dieterplex:migrate-git-snapbox, r=weihanglo

test: Migrate git to snapbox

Part of #14039.

There is a case need to modify regex for file size redaction.
This commit is contained in:
bors 2024-06-28 13:05:10 +00:00
commit 9441b91186
2 changed files with 593 additions and 537 deletions

View file

@ -171,7 +171,7 @@ fn add_common_redactions(subs: &mut snapbox::Redactions) {
.unwrap();
subs.insert(
"[FILE_SIZE]",
regex!(r"(?<redacted>[0-9]+(\.[0-9]+)([a-zA-Z]i)?)B"),
regex!(r"(?<redacted>[0-9]+(\.[0-9]+)?([a-zA-Z]i)?)B\s"),
)
.unwrap();
subs.insert(

File diff suppressed because it is too large Load diff