projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06cd246
)
; * test/lisp/erc/erc-networks-tests.el: escape `*`s in regexp
author
Mattias Engdegård
<mattiase@acm.org>
Fri, 1 Jul 2022 09:00:41 +0000
(11:00 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Fri, 1 Jul 2022 09:01:58 +0000
(11:01 +0200)
test/lisp/erc/erc-networks-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/erc/erc-networks-tests.el
b/test/lisp/erc/erc-networks-tests.el
index 417ee94cf0ce980c34639cea22f36053aec10151..66a334b7091292be2d10b5bc97ebfc2c2d43854a 100644
(file)
--- 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)))