diff options
| author | Andrea Corallo | 2020-08-29 15:15:46 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2020-08-29 16:08:03 +0200 |
| commit | ea35a62e6e200f00e22828a7d0994ee2a4d2fc6a (patch) | |
| tree | bfca5d3199237dd4a172df98e9af931a49e10cfb | |
| parent | 59a40b0d75526c973b5bdd25c41824879aafa515 (diff) | |
| download | emacs-ea35a62e6e200f00e22828a7d0994ee2a4d2fc6a.tar.gz emacs-ea35a62e6e200f00e22828a7d0994ee2a4d2fc6a.zip | |
* test/src/comp-tests.el (comp-tests-doc): Update test.
| -rw-r--r-- | test/src/comp-tests.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index 33b307b1c6e..2a078be8cb0 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el | |||
| @@ -322,7 +322,9 @@ Check that the resulting binaries do not differ." | |||
| 322 | (ert-deftest comp-tests-doc () | 322 | (ert-deftest comp-tests-doc () |
| 323 | (should (string= (documentation #'comp-tests-doc-f) | 323 | (should (string= (documentation #'comp-tests-doc-f) |
| 324 | "A nice docstring")) | 324 | "A nice docstring")) |
| 325 | (should (string-match "\\.*.eln\\'" (symbol-file #'comp-tests-doc-f)))) | 325 | ;; Check a preloaded function, we can't use `comp-tests-doc-f' now |
| 326 | ;; as this is loaded manually with no .elc. | ||
| 327 | (should (string-match "\\.*.elc\\'" (symbol-file #'error)))) | ||
| 326 | 328 | ||
| 327 | (ert-deftest comp-test-interactive-form () | 329 | (ert-deftest comp-test-interactive-form () |
| 328 | (should (equal (interactive-form #'comp-test-interactive-form0-f) | 330 | (should (equal (interactive-form #'comp-test-interactive-form0-f) |