From 85a4fb4471805fbe1714feecc18f8d028f2eb4a1 Mon Sep 17 00:00:00 2001 From: konsti Date: Tue, 10 Dec 2024 12:37:06 +0100 Subject: [PATCH] Filter out commit since last tag in tests (#9766) Follow-up to #9730, which broke some snapshots for me since the pattern would not capture the now-working commits since last tag. --- crates/uv/tests/it/common/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uv/tests/it/common/mod.rs b/crates/uv/tests/it/common/mod.rs index e1898a2f7..dc10d60e9 100644 --- a/crates/uv/tests/it/common/mod.rs +++ b/crates/uv/tests/it/common/mod.rs @@ -59,7 +59,7 @@ pub const INSTA_FILTERS: &[(&str, &str)] = &[ (r"uv\.exe", "uv"), // uv version display ( - r"uv(-.*)? \d+\.\d+\.\d+( \(.*\))?", + r"uv(-.*)? \d+\.\d+\.\d+(\+\d+)?( \(.*\))?", r"uv [VERSION] ([COMMIT] DATE)", ), // The exact message is host language dependent