* test/lisp/help-fns-tests.el (help-fns-test-lisp-defsubst): Fix (bug#48221).

This commit is contained in:
Andrea Corallo 2021-05-05 17:11:08 +02:00
parent f1c6a4c41e
commit 31f64d862b

View 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))))