diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-05-05 17:00:59 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-05-05 17:01:56 +0200 |
commit | 3481903d136af4380b5ee22879500e0295da8eba (patch) | |
tree | 78ddf66872cb5ec3c8433c48c7cf7d59c9d2667b /test/lisp/help-fns-tests.el | |
parent | a9f4ee3d3d69a91fde905684e5e9838a18ab855c (diff) | |
download | emacs-3481903d136af4380b5ee22879500e0295da8eba.tar.gz emacs-3481903d136af4380b5ee22879500e0295da8eba.tar.bz2 emacs-3481903d136af4380b5ee22879500e0295da8eba.zip |
* Better identify native compiler presence in two tests.
* test/lisp/help-fns-tests.el (help-fns-test-lisp-defun)
(help-fns-test-lisp-defsubst): Better identify native-comp
presence.
Diffstat (limited to 'test/lisp/help-fns-tests.el')
-rw-r--r-- | test/lisp/help-fns-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/help-fns-tests.el b/test/lisp/help-fns-tests.el index 099d627f355..8a226c4a0ba 100644 --- a/test/lisp/help-fns-tests.el +++ b/test/lisp/help-fns-tests.el @@ -62,14 +62,14 @@ Return first line of the output of (describe-function-1 FUNC)." (should (string-match regexp result)))) (ert-deftest help-fns-test-lisp-defun () - (let ((regexp (if (boundp 'comp-ctxt) + (let ((regexp (if (featurep 'nativecomp) "a native compiled Lisp function in .+subr\\.el" "a compiled Lisp function in .+subr\\.el")) (result (help-fns-tests--describe-function 'last))) (should (string-match regexp result)))) (ert-deftest help-fns-test-lisp-defsubst () - (let ((regexp (if (boundp 'comp-ctxt) + (let ((regexp (if (featurep 'nativecomp) "a native compiled Lisp function in .+subr\\.el" "a compiled Lisp function in .+subr\\.el")) (result (help-fns-tests--describe-function 'posn-window))) |