From ea3e51732dbd6755c1eacb3ba3fa79b0cd13f806 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 2 Oct 2021 16:20:06 +0200 Subject: [PATCH] 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 ed9a3d01498..5c4e0b9de93 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)) -- 2.39.5