summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-03-29 10:51:12 +0100
committerAndrea Corallo <akrl@sdf.org>2020-03-29 12:30:33 +0100
commit89cbff32e41771a64ba62e449ec797d55f86f15c (patch)
tree1e5500fc779c44db8c3f59f58f77af6cbd3d62a5
parent3c5e3ca2badeda8637e84586eace6ba619f0110a (diff)
downloademacs-89cbff32e41771a64ba62e449ec797d55f86f15c.tar.gz
emacs-89cbff32e41771a64ba62e449ec797d55f86f15c.tar.bz2
emacs-89cbff32e41771a64ba62e449ec797d55f86f15c.zip
* test/src/comp-tests.el (comp-tests-doc): Fix
-rw-r--r--test/src/comp-tests.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el
index e4b7a066cc0..c4f46b63dda 100644
--- a/test/src/comp-tests.el
+++ b/test/src/comp-tests.el
@@ -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)