aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/emacs-lisp/ert-tests.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/lisp/emacs-lisp/ert-tests.el b/test/lisp/emacs-lisp/ert-tests.el
index fc5790c3659..317838b250f 100644
--- a/test/lisp/emacs-lisp/ert-tests.el
+++ b/test/lisp/emacs-lisp/ert-tests.el
@@ -367,12 +367,8 @@ This macro is used to test if macroexpansion in `should' works."
367 (test (make-ert-test :body test-body)) 367 (test (make-ert-test :body test-body))
368 (result (ert-run-test test))) 368 (result (ert-run-test test)))
369 (should (ert-test-failed-p result)) 369 (should (ert-test-failed-p result))
370 (with-temp-buffer 370 (should (eq (nth 1 (car (ert-test-failed-backtrace result)))
371 (ert--print-backtrace (ert-test-failed-backtrace result)) 371 'signal))))
372 (goto-char (point-min))
373 (end-of-line)
374 (let ((first-line (buffer-substring-no-properties (point-min) (point))))
375 (should (equal first-line (format " %S()" test-body)))))))
376 372
377(ert-deftest ert-test-messages () 373(ert-deftest ert-test-messages ()
378 :tags '(:causes-redisplay) 374 :tags '(:causes-redisplay)