diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-03 16:32:42 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-03 16:32:42 -0200 |
commit | cf2e0f10498a4fe3f65d20454dee621062d194fd (patch) | |
tree | 7d80e542a8ba2e1340e78baf98ac333e7555569c /test/test-printing.el | |
parent | 3116757fbbbd2a16a5809d316067338a9492e78f (diff) |
Really fix test
Diffstat (limited to 'test/test-printing.el')
-rw-r--r-- | test/test-printing.el | 5 |
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 |