summaryrefslogtreecommitdiff
path: root/test/lisp/help-fns-tests.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-05-05 17:11:08 +0200
committerAndrea Corallo <akrl@sdf.org>2021-05-05 17:12:54 +0200
commit31f64d862b5d4557363363316ef51d3fb0eaca82 (patch)
treec05542fef46004870aff90fc989e0ca9ee924a9d /test/lisp/help-fns-tests.el
parentf1c6a4c41e801b722cbde22d6c8c653dccb2fe85 (diff)
downloademacs-31f64d862b5d4557363363316ef51d3fb0eaca82.tar.gz
* test/lisp/help-fns-tests.el (help-fns-test-lisp-defsubst): Fix (bug#48221).
Diffstat (limited to 'test/lisp/help-fns-tests.el')
-rw-r--r--test/lisp/help-fns-tests.el4
1 files changed, 1 insertions, 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))))