aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/lisp/emacs-lisp/ert-tests.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/lisp/emacs-lisp/ert-tests.el b/test/lisp/emacs-lisp/ert-tests.el
index 7573d2ed056..84c28e11315 100644
--- a/test/lisp/emacs-lisp/ert-tests.el
+++ b/test/lisp/emacs-lisp/ert-tests.el
@@ -377,8 +377,11 @@ This macro is used to test if macroexpansion in `should' works."
377 (test (make-ert-test :body test-body)) 377 (test (make-ert-test :body test-body))
378 (result (ert-run-test test))) 378 (result (ert-run-test test)))
379 (should (ert-test-failed-p result)) 379 (should (ert-test-failed-p result))
380 (should (eq (backtrace-frame-fun (car (ert-test-failed-backtrace result))) 380 (should (memq (backtrace-frame-fun (car (ert-test-failed-backtrace result)))
381 'signal)))) 381 ;;; This is `ert-fail' on nativecomp and `signal'
382 ;;; otherwise. It's not clear whether that's a bug
383 ;;; or not (bug#51308).
384 '(ert-fail signal)))))
382 385
383(ert-deftest ert-test-messages () 386(ert-deftest ert-test-messages ()
384 :tags '(:causes-redisplay) 387 :tags '(:causes-redisplay)