]> git.eshelyaron.com Git - emacs.git/commitdiff
Adjust doc-tests-documentation/autoloaded-macro
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 20 Feb 2022 16:42:21 +0000 (17:42 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 20 Feb 2022 16:42:21 +0000 (17:42 +0100)
* test/src/doc-tests.el
(doc-tests-documentation/autoloaded-macro): Adjust test -- rx is
loaded in nativecomp Emacsen when the tests are run, apparently.

test/src/doc-tests.el

index 8dabba90352ed5576abcba27febe0fd466498166..ee4f02347ecf3570c3fe7790f5fab132ffe60aef 100644 (file)
@@ -29,8 +29,8 @@
 
 (ert-deftest doc-tests-documentation/autoloaded-macro ()
   (skip-unless noninteractive)
-  (should (autoloadp (symbol-function 'rx)))
-  (should (stringp (documentation 'rx))))     ; See Bug#52969.
+  (should (autoloadp (symbol-function 'benchmark-run)))
+  (should (stringp (documentation 'benchmark-run))))     ; See Bug#52969.
 
 (ert-deftest doc-tests-documentation/autoloaded-defun ()
   (skip-unless noninteractive)