diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-07-01 11:00:41 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-07-01 11:01:58 +0200 |
commit | bffca6070f4614a5075100082ce5a3c8bba6df77 (patch) | |
tree | b15917aafc82a0d8f4b27bf871f2fad0d1a7a9b5 /test/lisp/erc/erc-networks-tests.el | |
parent | 06cd24698e0b04b9d1f3292af4517f33c5f3767b (diff) | |
download | emacs-bffca6070f4614a5075100082ce5a3c8bba6df77.tar.gz emacs-bffca6070f4614a5075100082ce5a3c8bba6df77.tar.bz2 emacs-bffca6070f4614a5075100082ce5a3c8bba6df77.zip |
; * test/lisp/erc/erc-networks-tests.el: escape `*`s in regexp
Diffstat (limited to 'test/lisp/erc/erc-networks-tests.el')
-rw-r--r-- | test/lisp/erc/erc-networks-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/erc/erc-networks-tests.el b/test/lisp/erc/erc-networks-tests.el index 417ee94cf0c..66a334b7091 100644 --- a/test/lisp/erc/erc-networks-tests.el +++ b/test/lisp/erc/erc-networks-tests.el @@ -1187,7 +1187,7 @@ nil (make-erc-response))))) (should (string-match-p "failed" (cadr err))) (should (eq (car err) 'error))) - (should (string-match-p "*** Failed" (car (pop calls))))))) + (should (string-match-p (rx "*** Failed") (car (pop calls))))))) (erc-networks-tests--clean-bufs))) |