projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf14aa
)
Fix failing ERC test
author
Stefan Kangas
<stefankangas@gmail.com>
Mon, 23 Oct 2023 12:36:46 +0000
(14:36 +0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Mon, 23 Oct 2023 12:37:23 +0000
(14:37 +0200)
* test/lisp/erc/erc-tests.el (erc--update-modules/unknown): Fix
test failing due to grave/curve quote.
test/lisp/erc/erc-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/erc/erc-tests.el
b/test/lisp/erc/erc-tests.el
index 4d2f880b46f2efb125be26df58e8744b7f6eecfb..92e364503e2684f96881cefdcd8914a38c3a8c08 100644
(file)
--- 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")))))))