Function: ert-face-for-stats
ert-face-for-stats is a byte-compiled function defined in ert.el.gz.
Signature
(ert-face-for-stats STATS)
Documentation
Return a face that represents STATS.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert.el.gz
(defun ert-face-for-stats (stats)
"Return a face that represents STATS."
(cond ((ert--stats-aborted-p stats) 'nil)
((cl-plusp (ert-stats-completed-unexpected stats))
(ert-face-for-test-result nil))
((eql (ert-stats-completed-expected stats) (ert-stats-total stats))
(ert-face-for-test-result t))
(t 'nil)))