From 6eec20afc08b8093194495e335f235c4eaa93fc3 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 8 Feb 2025 15:38:22 +0100 Subject: [PATCH] Check for the correct link-id prefix in "must not add links when unnecessary" integration-test (PR 19110 follow-up) Currently this test-case would never fail, even if the actual implementation was broken, since it checks for a link-id prefix that we're not using. --- test/integration/autolinker_spec.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/autolinker_spec.mjs b/test/integration/autolinker_spec.mjs index a39c18f79..455f106d6 100644 --- a/test/integration/autolinker_spec.mjs +++ b/test/integration/autolinker_spec.mjs @@ -82,7 +82,7 @@ describe("autolinker", function () { linkIds.forEach(id => expect(id) .withContext(`In ${browserName}`) - .not.toContain("added_link_") + .not.toContain("inferred_link_") ); }) );