From b188750e0332335e06ea45ed11abd15100fa1f1d Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Tue, 23 Jul 2024 14:56:07 +0200 Subject: [PATCH] Fix tests --- common/query_functions.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/query_functions.test.ts b/common/query_functions.test.ts index 4078718b..b94e2ead 100644 --- a/common/query_functions.test.ts +++ b/common/query_functions.test.ts @@ -47,7 +47,7 @@ describe("rewriteRefsAndFederationLinks", () => { const template1 = "* [ ] My task\n* [ ] [[other@2]] Ignore me\n* [ ] Rewrite me too [[other page]]\n"; assertEquals( - functions.rewriteTaskRefs(template1, "page1"), + functions.rewriteRefsAndFederationLinks(template1, "page1"), "* [ ] [[page1@2]] My task\n* [ ] [[other@2]] Ignore me\n* [ ] [[page1@44]] Rewrite me too [[other page]]\n", ); });