]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/src/comp-tests.el (comp-tests-doc): Fix
authorAndrea Corallo <akrl@sdf.org>
Sun, 29 Mar 2020 09:51:12 +0000 (10:51 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sun, 29 Mar 2020 11:30:33 +0000 (12:30 +0100)
test/src/comp-tests.el

index e4b7a066cc0bb350abed66311313d698aa48cbcf..c4f46b63ddad2ba82cd3bd3041ceab07974f65a3 100644 (file)
@@ -308,8 +308,7 @@ Check that the resulting binaries do not differ."
 (ert-deftest comp-tests-doc ()
   (should (string= (documentation #'comp-tests-doc-f)
                    "A nice docstring"))
-  (should (string= (symbol-file #'comp-tests-doc-f)
-                   (concat comp-test-src "n"))))
+  (should (string-match "\\.*.eln\\'" (symbol-file #'comp-tests-doc-f))))
 
 (ert-deftest comp-test-interactive-form ()
   (should (equal (interactive-form #'comp-test-interactive-form0-f)