From 73b2f7ac698601d3dfbedd7949d95bc506497c50 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 17 Dec 2018 22:52:34 -0800 Subject: [PATCH] Tiny ert-summarize-tests-batch-and-exit improvement * lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): Report the details of unexpected passes as well as failures. --- lisp/emacs-lisp/ert.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index 9702a11998e..6d4d90e4986 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el @@ -1563,7 +1563,8 @@ Ran \\([0-9]+\\) tests, \\([0-9]+\\) results as expected\ (message "-------") (with-temp-buffer (dolist (x (list (list skipped "skipped" "SKIPPED") - (list unexpected "unexpected" "FAILED"))) + (list unexpected "unexpected" + "\\(?:FAILED\\|PASSED\\)"))) (mapc (lambda (l) (erase-buffer) (insert-file-contents l) -- 2.39.2