From: Stefan Kangas Date: Mon, 23 Oct 2023 12:36:46 +0000 (+0200) Subject: Fix failing ERC test X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d1fa9f19566e1ddfa2cb38ccb360a7b3ba540dc3;p=emacs.git Fix failing ERC test * test/lisp/erc/erc-tests.el (erc--update-modules/unknown): Fix test failing due to grave/curve quote. --- 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")))))))