]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix two doc-related test failures
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 27 Sep 2021 07:28:34 +0000 (09:28 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 27 Sep 2021 07:28:58 +0000 (09:28 +0200)
test/src/comp-tests.el

index f1778b3856839d21c0f437e5738d2c0d806693c7..ecf62a4c128616062fc779b2ffe44d434a3cf344 100644 (file)
@@ -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))))