diff options
| author | Stefan Kangas | 2024-06-23 20:54:22 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2024-06-23 20:54:22 +0200 |
| commit | 75ca15f2a3146b17fde5e2a50ad9102c6108ba7f (patch) | |
| tree | ff9e7d69b312d96685f44ca496385087e4cb6df8 | |
| parent | 0f01cb0ebd12c361b3f7bd7a44159911f52301bf (diff) | |
| download | emacs-29.tar.gz emacs-29.zip | |
Fix failing help-fns-testemacs-29
* test/lisp/help-fns-tests.el (help-fns-test-lisp-defun):
Fix failing test.
| -rw-r--r-- | test/lisp/help-fns-tests.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/lisp/help-fns-tests.el b/test/lisp/help-fns-tests.el index c3e8ca49723..fabf1959658 100644 --- a/test/lisp/help-fns-tests.el +++ b/test/lisp/help-fns-tests.el | |||
| @@ -63,9 +63,8 @@ Return first line of the output of (describe-function-1 FUNC)." | |||
| 63 | (should (string-match regexp result)))) | 63 | (should (string-match regexp result)))) |
| 64 | 64 | ||
| 65 | (ert-deftest help-fns-test-lisp-defun () | 65 | (ert-deftest help-fns-test-lisp-defun () |
| 66 | (let ((regexp (if (featurep 'native-compile) | 66 | (let ((regexp (rx "a " (or "byte-compiled" "native-compiled") |
| 67 | "a native-compiled Lisp function in .+subr\\.el" | 67 | " Lisp function in " nonl "subr.el" nonl)) |
| 68 | "a byte-compiled Lisp function in .+subr\\.el")) | ||
| 69 | (result (help-fns-tests--describe-function 'last))) | 68 | (result (help-fns-tests--describe-function 'last))) |
| 70 | (should (string-match regexp result)))) | 69 | (should (string-match regexp result)))) |
| 71 | 70 | ||