From: Andrea Corallo Date: Sun, 29 Mar 2020 09:51:12 +0000 (+0100) Subject: * test/src/comp-tests.el (comp-tests-doc): Fix X-Git-Tag: emacs-28.0.90~2727^2~738 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=89cbff32e41771a64ba62e449ec797d55f86f15c;p=emacs.git * test/src/comp-tests.el (comp-tests-doc): Fix --- 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)