From 84a34b8735c1d5f5f0e6af3e0a3d1998efd3d12f Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 2 Oct 2026 18:35:27 +0200 Subject: [PATCH] Semver check tests: pin the broken-manifest failure text Co-Authored-By: Claude Opus 5.5 --- scripts/check-changelog-semver.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-changelog-semver.test.mjs b/scripts/check-changelog-semver.test.mjs index 0d37a300..039895fd 100644 --- a/scripts/check-changelog-semver.test.mjs +++ b/scripts/check-changelog-semver.test.mjs @@ -522,7 +522,7 @@ test("measured: a missing or unrestorable tool fails closed and says why", () => writeFileSync(join(bare, "dotnet-tools.json"), "{ this is not a manifest"); const brokenManifest = runCheckerExpectFailure(dir, measuredArgs(dir, "1.0.1", [oldWidget()]), { script }); assert.match(brokenManifest, /could not be measured/); - assert.match(brokenManifest, /dotnet tool restore failed: S/); + assert.match(brokenManifest, /dotnet tool restore failed: Json parsing error/); } finally { rmSync(bare, { recursive: true, force: true }); }