diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-27 09:28:34 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-27 09:28:58 +0200 |
commit | 5f6e88ec9b43fef259f0303d167107fc56f70a5c (patch) | |
tree | 770f1ca8d5886749afcbdae43fbb9c8610155aee /test/src/comp-tests.el | |
parent | b023f252682544154311124d7350fe111e34f1ca (diff) | |
download | emacs-5f6e88ec9b43fef259f0303d167107fc56f70a5c.tar.gz emacs-5f6e88ec9b43fef259f0303d167107fc56f70a5c.tar.bz2 emacs-5f6e88ec9b43fef259f0303d167107fc56f70a5c.zip |
Fix two doc-related test failures
Diffstat (limited to 'test/src/comp-tests.el')
-rw-r--r-- | test/src/comp-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index f1778b38568..ecf62a4c128 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el @@ -285,7 +285,7 @@ Check that the resulting binaries do not differ." (should (string= (comp-tests-condition-case-0-f) "arith-error Arithmetic error catched")) (should (string= (comp-tests-condition-case-1-f) - "error foo catched")) + "error Foo catched")) (should (= (comp-tests-catch-f (lambda () (throw 'foo 3))) 3)) @@ -333,7 +333,7 @@ Check that the resulting binaries do not differ." (comp-deftest doc () (should (string= (documentation #'comp-tests-doc-f) - "A nice docstring")) + "A nice docstring.")) ;; Check a preloaded function, we can't use `comp-tests-doc-f' now ;; as this is loaded manually with no .elc. (should (string-match "\\.*.elc\\'" (symbol-file #'error)))) |