]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/lisp/help-fns-tests.el (help-fns-test-lisp-defsubst): Fix (bug#48221).
authorAndrea Corallo <akrl@sdf.org>
Wed, 5 May 2021 15:11:08 +0000 (17:11 +0200)
committerAndrea Corallo <akrl@sdf.org>
Wed, 5 May 2021 15:12:54 +0000 (17:12 +0200)
test/lisp/help-fns-tests.el

index 8a226c4a0ba089b143e866e05334960362cec5da..5b60939f8a8bd87108b1460c185b7e16b09151e1 100644 (file)
@@ -69,9 +69,7 @@ Return first line of the output of (describe-function-1 FUNC)."
     (should (string-match regexp result))))
 
 (ert-deftest help-fns-test-lisp-defsubst ()
-  (let ((regexp (if (featurep 'nativecomp)
-                    "a native compiled Lisp function in .+subr\\.el"
-                  "a compiled Lisp function in .+subr\\.el"))
+  (let ((regexp "a compiled Lisp function in .+subr\\.el")
         (result (help-fns-tests--describe-function 'posn-window)))
     (should (string-match regexp result))))