From 31f64d862b5d4557363363316ef51d3fb0eaca82 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 5 May 2021 17:11:08 +0200 Subject: [PATCH] * test/lisp/help-fns-tests.el (help-fns-test-lisp-defsubst): Fix (bug#48221). --- test/lisp/help-fns-tests.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)))) -- 2.39.5