[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d1fa9f19566: Fix failing ERC test
From: |
Stefan Kangas |
Subject: |
master d1fa9f19566: Fix failing ERC test |
Date: |
Mon, 23 Oct 2023 08:38:54 -0400 (EDT) |
branch: master
commit d1fa9f19566e1ddfa2cb38ccb360a7b3ba540dc3
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
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")))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d1fa9f19566: Fix failing ERC test,
Stefan Kangas <=