Function: cider-test-highlight-problems
cider-test-highlight-problems is a byte-compiled function defined in
cider-test.el.
Signature
(cider-test-highlight-problems RESULTS)
Documentation
Highlight all non-passing tests in the test RESULTS.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-test.el
(defun cider-test-highlight-problems (results)
"Highlight all non-passing tests in the test RESULTS."
(nrepl-dict-map
(lambda (ns vars)
(nrepl-dict-map
(lambda (var tests)
(when-let* ((buffer (cider-find-var-file ns var)))
(dolist (test tests)
(nrepl-dbind-response test (type)
(unless (equal "pass" type)
(cider-test-highlight-problem buffer test))))))
vars))
results))