]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/lisp/erc/erc-networks-tests.el: escape `*`s in regexp
authorMattias Engdegård <mattiase@acm.org>
Fri, 1 Jul 2022 09:00:41 +0000 (11:00 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 1 Jul 2022 09:01:58 +0000 (11:01 +0200)
test/lisp/erc/erc-networks-tests.el

index 417ee94cf0ce980c34639cea22f36053aec10151..66a334b7091292be2d10b5bc97ebfc2c2d43854a 100644 (file)
                                     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)))