1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Expand internal--format-docstring-line test

* test/lisp/subr-tests.el (subr-test-internal--format-docstring-line):
Check for error on newline.
This commit is contained in:
Stefan Kangas 2021-10-02 16:20:06 +02:00
parent 6d0ea5e307
commit ea3e51732d

View file

@ -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))