From b2d23e1c912c8fdb36f0b13a94940339cc276a13 Mon Sep 17 00:00:00 2001 From: m Date: Wed, 23 Oct 2024 17:50:04 -0700 Subject: [PATCH] make hash optional in bugreport test --- tests/integration_snapshots.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration_snapshots.rs b/tests/integration_snapshots.rs index f6584f19..0b3ba987 100644 --- a/tests/integration_snapshots.rs +++ b/tests/integration_snapshots.rs @@ -52,7 +52,7 @@ fn bugreport() { // much of this is not reproducible on different machines, so we have // to heavily filter it. settings.add_filter( - r"cargo-semver-checks \d+\.\d+\.\d+(-[\w\.-]+)? \(\w+(-modified)?\)", + r"cargo-semver-checks \d+\.\d+\.\d+(-[\w\.-]+)? (\(\w+(-modified)?\))?", "cargo-semver-checks [VERSION] ([HASH])", ); settings.add_filter(