1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 23:40:39 -08:00

* test/src/comp-tests.el (comp-tests-doc): Fix

This commit is contained in:
Andrea Corallo 2020-03-29 10:51:12 +01:00
parent 3c5e3ca2ba
commit 89cbff32e4

View 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)