aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/lisp/help-fns-tests.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/lisp/help-fns-tests.el b/test/lisp/help-fns-tests.el
index c3e8ca49723..fabf1959658 100644
--- a/test/lisp/help-fns-tests.el
+++ b/test/lisp/help-fns-tests.el
@@ -63,9 +63,8 @@ Return first line of the output of (describe-function-1 FUNC)."
63 (should (string-match regexp result)))) 63 (should (string-match regexp result))))
64 64
65(ert-deftest help-fns-test-lisp-defun () 65(ert-deftest help-fns-test-lisp-defun ()
66 (let ((regexp (if (featurep 'native-compile) 66 (let ((regexp (rx "a " (or "byte-compiled" "native-compiled")
67 "a native-compiled Lisp function in .+subr\\.el" 67 " Lisp function in " nonl "subr.el" nonl))
68 "a byte-compiled Lisp function in .+subr\\.el"))
69 (result (help-fns-tests--describe-function 'last))) 68 (result (help-fns-tests--describe-function 'last)))
70 (should (string-match regexp result)))) 69 (should (string-match regexp result))))
71 70