diff options
| author | Stefan Kangas | 2023-10-23 14:36:46 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2023-10-23 14:37:23 +0200 |
| commit | d1fa9f19566e1ddfa2cb38ccb360a7b3ba540dc3 (patch) | |
| tree | 7f1d4d84bc68c1570b906966520eb212af00ede0 | |
| parent | baf14aa16accc97db32723d13fb65a5e8ead4d47 (diff) | |
| download | emacs-d1fa9f19566e1ddfa2cb38ccb360a7b3ba540dc3.tar.gz emacs-d1fa9f19566e1ddfa2cb38ccb360a7b3ba540dc3.zip | |
Fix failing ERC test
* test/lisp/erc/erc-tests.el (erc--update-modules/unknown): Fix
test failing due to grave/curve quote.
| -rw-r--r-- | test/lisp/erc/erc-tests.el | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
| 2615 | (let* ((erc-modules '(foo)) | 2615 | (let* ((erc-modules '(foo)) |
| 2616 | (obarray (obarray-make)) | 2616 | (obarray (obarray-make)) |
| 2617 | (err (should-error (erc--update-modules erc-modules)))) | 2617 | (err (should-error (erc--update-modules erc-modules)))) |
| 2618 | (should (equal (cadr err) "`foo' is not a known ERC module")) | 2618 | (should (string-match (rx bos (any "`‘") "foo" (any "'’") |
| 2619 | " is not a known ERC module" eos) | ||
| 2620 | (cadr err))) | ||
| 2619 | (should (equal (funcall get-calls) | 2621 | (should (equal (funcall get-calls) |
| 2620 | `((req . ,(intern-soft "erc-foo"))))))) | 2622 | `((req . ,(intern-soft "erc-foo"))))))) |
| 2621 | 2623 | ||