summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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)