diff options
| author | João Távora | 2024-01-02 09:33:12 -0600 |
|---|---|---|
| committer | João Távora | 2024-01-02 09:33:12 -0600 |
| commit | 4ab7a95b24b733a7ae6eec90fc296e66b053d87d (patch) | |
| tree | 2e0f308496e5fee58b5ba384472cda0318030dc6 | |
| parent | ca7fd891476c27b2cf96bacb0e0963e64babc218 (diff) | |
| download | emacs-scratch/handler-bind-2.tar.gz emacs-scratch/handler-bind-2.zip | |
Use new error representaiton in ERTscratch/handler-bind-2
* lisp/emacs-lisp/ert.el (ert--run-test-debugger): Use new error
representation.
| -rw-r--r-- | lisp/emacs-lisp/ert.el | 5 |
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 | ||
| 735 | INFO is the `ert--test-execution-info' corresponding to this test run. | 735 | INFO is the `ert--test-execution-info' corresponding to this test run. |
| 736 | ERR is the error object." | 736 | ERR 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))) |