From: Andrea Corallo Date: Wed, 5 May 2021 15:11:08 +0000 (+0200) Subject: * test/lisp/help-fns-tests.el (help-fns-test-lisp-defsubst): Fix (bug#48221). X-Git-Tag: emacs-28.0.90~2602 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=31f64d862b5d4557363363316ef51d3fb0eaca82;p=emacs.git * test/lisp/help-fns-tests.el (help-fns-test-lisp-defsubst): Fix (bug#48221). --- diff --git a/test/lisp/help-fns-tests.el b/test/lisp/help-fns-tests.el index 8a226c4a0ba..5b60939f8a8 100644 --- a/test/lisp/help-fns-tests.el +++ b/test/lisp/help-fns-tests.el @@ -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))))