aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/ert.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index 1c268dcc19f..5c82fb003f9 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -734,7 +734,10 @@ appropriate.
734 734
735INFO is the `ert--test-execution-info' corresponding to this test run. 735INFO is the `ert--test-execution-info' corresponding to this test run.
736ERR is the error object." 736ERR is the error object."
737 (let* ((type (cl-case (car condition) 737 (let* ((type (cl-case
738 ; TODO: aref ugly (not uglier than 'car' before
739 ; it). Needs accessors.
740 (aref condition 1)
738 ((quit) 'quit) 741 ((quit) 'quit)
739 ((ert-test-skipped) 'skipped) 742 ((ert-test-skipped) 'skipped)
740 (otherwise 'failed))) 743 (otherwise 'failed)))