emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ea3e517: Expand internal--format-docstring-line test


From: Stefan Kangas
Subject: master ea3e517: Expand internal--format-docstring-line test
Date: Sat, 2 Oct 2021 10:21:04 -0400 (EDT)

branch: master
commit ea3e51732dbd6755c1eacb3ba3fa79b0cd13f806
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Expand internal--format-docstring-line test
    
    * test/lisp/subr-tests.el (subr-test-internal--format-docstring-line):
    Check for error on newline.
---
 test/lisp/subr-tests.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/lisp/subr-tests.el b/test/lisp/subr-tests.el
index ed9a3d0..5c4e0b9 100644
--- a/test/lisp/subr-tests.el
+++ b/test/lisp/subr-tests.el
@@ -777,7 +777,8 @@ some of the ways to customize it; it corresponds to GNU 
Emacs version 28.1."))
             "Emacs is the advanced, extensible, customizable,
 self-documenting editor.  This manual describes how to edit
 with Emacs and some of the ways to customize it; it
-corresponds to GNU Emacs version 28.1.")))
+corresponds to GNU Emacs version 28.1."))
+  (should-error (internal--format-docstring-line "foo\nbar")))
 
 (ert-deftest test-ensure-list ()
   (should (equal (ensure-list nil) nil))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]