projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b0e52
)
Make substitute-command-keys regexp tests more strict
author
Stefan Kangas
<stefan@marxist.se>
Sat, 6 Nov 2021 18:37:46 +0000
(19:37 +0100)
committer
Stefan Kangas
<stefan@marxist.se>
Sat, 6 Nov 2021 18:39:46 +0000
(19:39 +0100)
* test/lisp/help-tests.el (with-substitute-command-keys-test): Make
regexp tests more strict.
test/lisp/help-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/help-tests.el
b/test/lisp/help-tests.el
index a2573c9c8b3a5c835639531eab7b14e0e892e1bb..a331ec440a8532ad482cf8a6c368dbe2e5e64d85 100644
(file)
--- a/
test/lisp/help-tests.el
+++ b/
test/lisp/help-tests.el
@@
-65,7
+65,7
@@
result))))
(test-re
(lambda (orig regexp)
- (should (string-match (concat "
^" regexp "$
")
+ (should (string-match (concat "
\\`" regexp "\\'
")
(substitute-command-keys orig))))))
,@body))