Make substitute-command-keys regexp tests more strict
* test/lisp/help-tests.el (with-substitute-command-keys-test): Make regexp tests more strict.
This commit is contained in:
parent
b8b0e529a8
commit
2893ea4e4c
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue