aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-comments-comment-inline-border.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-custom-comments-comment-inline-border.el')
-rw-r--r--tests/test-custom-comments-comment-inline-border.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-custom-comments-comment-inline-border.el b/tests/test-custom-comments-comment-inline-border.el
index ca2bef06..78e86035 100644
--- a/tests/test-custom-comments-comment-inline-border.el
+++ b/tests/test-custom-comments-comment-inline-border.el
@@ -190,10 +190,12 @@ Returns the buffer string for assertions."
:type 'error))
(ert-deftest test-inline-border-elisp-nil-decoration ()
- "Should error when decoration-char is nil."
+ "Should error when decoration-char is nil.
+The decoration-char validator signals `user-error' for any non-printable
+or non-single-character input."
(should-error
(test-inline-border-at-column 0 ";;" "" nil "Header" 70)
- :type 'wrong-type-argument))
+ :type 'user-error))
(ert-deftest test-inline-border-elisp-non-integer-length ()
"Should error when length is not an integer."