From 13a21bff0fd0f56b749378b0a1a057ffd4b651ed Mon Sep 17 00:00:00 2001 From: Roger Gilliar Date: Sun, 17 May 2015 15:53:21 +0200 Subject: [PATCH] Fix count of test errors and failures Closes #208. --- plugin/fireplace.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/fireplace.vim b/plugin/fireplace.vim index be6650c..5e7ca01 100644 --- a/plugin/fireplace.vim +++ b/plugin/fireplace.vim @@ -1467,6 +1467,7 @@ function! fireplace#capture_test_run(expr, ...) abort \ . ' (:fail :error)' \ . ' (let [{file :file line :line test :name} (meta (last clojure.test/*testing-vars*))]' \ . ' (clojure.test/with-test-out' + \ . ' (clojure.test/inc-report-counter (:type m))' \ . ' (println (clojure.string/join "\t" [file line (name (:type m)) test]))' \ . ' (when (seq clojure.test/*testing-contexts*) (println (clojure.test/testing-contexts-str)))' \ . ' (when-let [message (:message m)] (println message))'