From 89cbff32e41771a64ba62e449ec797d55f86f15c Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Sun, 29 Mar 2020 10:51:12 +0100 Subject: [PATCH] * test/src/comp-tests.el (comp-tests-doc): Fix --- test/src/comp-tests.el | 3 +-- 1 file changed, 1 insertion(+), 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) -- 2.39.5