aboutsummaryrefslogtreecommitdiff
path: root/test/test-printing.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-printing.el')
-rw-r--r--test/test-printing.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test-printing.el b/test/test-printing.el
index 1eea281..bcc3dd9 100644
--- a/test/test-printing.el
+++ b/test/test-printing.el
@@ -149,8 +149,9 @@ after being run through `sx-question--tag-format'."
;;; question-mode
(ert-deftest sx-display-question ()
- (should
- (sx-display-question (elt sx-test-data-questions 0)))
+ ;; Check it doesn't error.
+ (sx-display-question (elt sx-test-data-questions 0))
+ ;; Check it does error.
(should-error
(sx-display-question sx-test-data-questions))
(should-error