diff options
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/rx-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/rx-tests.el b/test/lisp/emacs-lisp/rx-tests.el index 76dcf419428..d4524e5a251 100644 --- a/test/lisp/emacs-lisp/rx-tests.el +++ b/test/lisp/emacs-lisp/rx-tests.el @@ -184,8 +184,8 @@ "ab"))) (ert-deftest rx-atoms () - (should (equal (rx anything) - ".\\|\n")) + (should (equal (rx anychar anything) + "\\(?:.\\|\n\\)\\(?:.\\|\n\\)")) (should (equal (rx line-start not-newline nonl any line-end) "^...$")) (should (equal (rx bol string-start string-end buffer-start buffer-end |