summaryrefslogtreecommitdiff
path: root/test/lisp/erc/erc-networks-tests.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-07-01 11:00:41 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2022-07-01 11:01:58 +0200
commitbffca6070f4614a5075100082ce5a3c8bba6df77 (patch)
treeb15917aafc82a0d8f4b27bf871f2fad0d1a7a9b5 /test/lisp/erc/erc-networks-tests.el
parent06cd24698e0b04b9d1f3292af4517f33c5f3767b (diff)
downloademacs-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.el2
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)))