From d1fa9f19566e1ddfa2cb38ccb360a7b3ba540dc3 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 23 Oct 2023 14:36:46 +0200 Subject: [PATCH] Fix failing ERC test * test/lisp/erc/erc-tests.el (erc--update-modules/unknown): Fix test failing due to grave/curve quote. --- test/lisp/erc/erc-tests.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lisp/erc/erc-tests.el b/test/lisp/erc/erc-tests.el index 4d2f880b46f..92e364503e2 100644 --- a/test/lisp/erc/erc-tests.el +++ b/test/lisp/erc/erc-tests.el @@ -2615,7 +2615,9 @@ (let* ((erc-modules '(foo)) (obarray (obarray-make)) (err (should-error (erc--update-modules erc-modules)))) - (should (equal (cadr err) "`foo' is not a known ERC module")) + (should (string-match (rx bos (any "`‘") "foo" (any "'’") + " is not a known ERC module" eos) + (cadr err))) (should (equal (funcall get-calls) `((req . ,(intern-soft "erc-foo"))))))) -- 2.39.5