From 08dc635f2714d65c682f391c77034f7a2551a4e7 Mon Sep 17 00:00:00 2001 From: Mario Campos Date: Tue, 4 Nov 2025 11:11:08 -0600 Subject: [PATCH] Restore use of `sinon.match()`. --- src/util.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util.test.ts b/src/util.test.ts index ed9a62df8..8ae686cf8 100644 --- a/src/util.test.ts +++ b/src/util.test.ts @@ -488,7 +488,9 @@ for (const [ if (shouldReportError) { t.true( warningSpy.calledOnceWithExactly( - "CodeQL Action major versions v1, v2, and v3 have either been deprecated or will soon be deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/", + sinon.match( + "CodeQL Action major versions v1, v2, and v3 have either been deprecated or will soon be deprecated.", + ), ), ); } else {