aboutsummaryrefslogtreecommitdiff
path: root/test/test-printing.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-02-03 16:32:42 -0200
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-02-03 16:32:42 -0200
commitcf2e0f10498a4fe3f65d20454dee621062d194fd (patch)
tree7d80e542a8ba2e1340e78baf98ac333e7555569c /test/test-printing.el
parent3116757fbbbd2a16a5809d316067338a9492e78f (diff)
Really fix test
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