; * test/lisp/erc/erc-networks-tests.el: escape *s in regexp

This commit is contained in:
Mattias Engdegård 2022-07-01 11:00:41 +02:00
parent 06cd24698e
commit bffca6070f

View file

@ -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)))