diff options
| author | Stefan Kangas | 2022-07-23 00:06:38 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-07-23 00:06:38 +0200 |
| commit | ae1ace1cf4a8b0624f72a8f76e702d78b643ea32 (patch) | |
| tree | 15b7150684ca2cac8935b293fb4d5da1a7a91960 | |
| parent | 04bdcf4aaa46612e066f32fa6452d76e40eff8e8 (diff) | |
| download | emacs-ae1ace1cf4a8b0624f72a8f76e702d78b643ea32.tar.gz emacs-ae1ace1cf4a8b0624f72a8f76e702d78b643ea32.zip | |
Adjust help-fns.el tests for recent change
* test/lisp/help-fns-tests.el (help-fns-test-lisp-defun)
(help-fns-test-lisp-defsubst): Adjust tests for recent change.
| -rw-r--r-- | test/lisp/help-fns-tests.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lisp/help-fns-tests.el b/test/lisp/help-fns-tests.el index 4002501ddee..3132a590231 100644 --- a/test/lisp/help-fns-tests.el +++ b/test/lisp/help-fns-tests.el | |||
| @@ -63,13 +63,13 @@ Return first line of the output of (describe-function-1 FUNC)." | |||
| 63 | 63 | ||
| 64 | (ert-deftest help-fns-test-lisp-defun () | 64 | (ert-deftest help-fns-test-lisp-defun () |
| 65 | (let ((regexp (if (featurep 'native-compile) | 65 | (let ((regexp (if (featurep 'native-compile) |
| 66 | "a native compiled Lisp function in .+subr\\.el" | 66 | "a native-compiled Lisp function in .+subr\\.el" |
| 67 | "a compiled Lisp function in .+subr\\.el")) | 67 | "a byte-compiled Lisp function in .+subr\\.el")) |
| 68 | (result (help-fns-tests--describe-function 'last))) | 68 | (result (help-fns-tests--describe-function 'last))) |
| 69 | (should (string-match regexp result)))) | 69 | (should (string-match regexp result)))) |
| 70 | 70 | ||
| 71 | (ert-deftest help-fns-test-lisp-defsubst () | 71 | (ert-deftest help-fns-test-lisp-defsubst () |
| 72 | (let ((regexp "a compiled Lisp function in .+subr\\.el") | 72 | (let ((regexp "a byte-compiled Lisp function in .+subr\\.el") |
| 73 | (result (help-fns-tests--describe-function 'posn-window))) | 73 | (result (help-fns-tests--describe-function 'posn-window))) |
| 74 | (should (string-match regexp result)))) | 74 | (should (string-match regexp result)))) |
| 75 | 75 | ||