Uv tests fail when path contains size/time-like strings (#1984)

This commit is contained in:
Simon Brugman 2024-02-26 15:02:08 +01:00 committed by GitHub
parent 70dad51cd9
commit a5a917169b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ pub static EXCLUDE_NEWER: &str = "2023-11-18T12:00:00Z";
pub const INSTA_FILTERS: &[(&str, &str)] = &[
(r"--cache-dir [^\s]+", "--cache-dir [CACHE_DIR]"),
// Operation times
(r"(\d+m )?(\d+\.)?\d+(ms|s)", "[TIME]"),
(r"(\s|\()(\d+m )?(\d+\.)?\d+(ms|s)", "$1[TIME]"),
// File sizes
(r"(\d+\.)?\d+([KM]i)?B", "[SIZE]"),
(r"(\s|\()(\d+\.)?\d+([KM]i)?B", "$1[SIZE]"),
// Rewrite Windows output to Unix output
(r"\\([\w\d])", "/$1"),
(r"uv.exe", "uv"),