From: Tino Calancha Date: Mon, 13 Mar 2017 11:01:40 +0000 (+0900) Subject: * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-1): Fix regexp. X-Git-Tag: emacs-26.0.90~579 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7a50abee22581e02f0d822c3d9684c0985cdecb2;p=emacs.git * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-1): Fix regexp. --- diff --git a/test/lisp/emacs-lisp/cl-print-tests.el b/test/lisp/emacs-lisp/cl-print-tests.el index f46ecde0319..04ddfeeca8a 100644 --- a/test/lisp/emacs-lisp/cl-print-tests.el +++ b/test/lisp/emacs-lisp/cl-print-tests.el @@ -34,7 +34,7 @@ (let ((print-circle t)) (should (equal (cl-prin1-to-string `((x . ,x) (y . ,x))) "((x . #1=#s(cl-print--test :a 1 :b 2)) (y . #1#))"))) - (should (string-match "\\`#f(compiled-function (x) .*)\\'" + (should (string-match "\\`#f(compiled-function (x) .*\n\n.*)\\'" (cl-prin1-to-string (symbol-function #'caar)))))) ;;; cl-print-tests.el ends here.