From: Lars Ingebrigtsen Date: Mon, 27 Sep 2021 07:28:34 +0000 (+0200) Subject: Fix two doc-related test failures X-Git-Tag: emacs-28.0.90~572^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f6e88ec9b43fef259f0303d167107fc56f70a5c;p=emacs.git Fix two doc-related test failures --- 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))))