diff options
Diffstat (limited to 'test/lisp/emacs-lisp/rx-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/rx-tests.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/rx-tests.el b/test/lisp/emacs-lisp/rx-tests.el index bab71b522bb..8845ebf46d1 100644 --- a/test/lisp/emacs-lisp/rx-tests.el +++ b/test/lisp/emacs-lisp/rx-tests.el @@ -156,5 +156,9 @@ (rx-tests--match (rx "c" (minimal-match (0+ (regexp ad))) "a") "cdaaada" "cda") (rx-tests--match (rx "c" (maximal-match (0+ (regexp ad))) "a") "cdaaada" "cdaaada"))) +(ert-deftest rx-to-string-lisp-forms () + (rx-tests--match (rx-to-string '(seq "a" (literal "b") "c")) "abc") + (rx-tests--match (rx-to-string '(seq "a" (regexp "b") "c")) "abc")) + (provide 'rx-tests) ;; rx-tests.el ends here. |