From d937545d69736a906fdb549b75bdf2b8e005e287 Mon Sep 17 00:00:00 2001
From: Konrad Mrożek <kmrozek@comscore.com>
Date: Thu, 31 Aug 2023 10:20:20 +0000
Subject: [PATCH] Handle exit code correctly

---
 compiler/clojure-test.vim |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/compiler/clojure-test.vim b/compiler/clojure-test.vim
index 87f4806..d7c4c02 100644
--- a/compiler/clojure-test.vim
+++ b/compiler/clojure-test.vim
@@ -9,7 +9,7 @@
     command -nargs=* CompilerSet setlocal <args>
 endif
 
-var clojure_test_deps = "'{:aliases {:clojure-test-vim {:extra-paths [\"classes\"] :extra-deps {mrroman/clojure-test.vim {:local/root \"" .. expand('<sfile>:p:h:h') .. "/clojure\"}}}}}'"
+var clojure_test_deps = "'{:aliases {:clojure-test-vim {:extra-paths [\".cache/classes\"] :extra-deps {mrroman/clojure-test.vim {:local/root \"" .. expand('<sfile>:p:h:h') .. "/clojure\"}}}}}'"
 
-execute 'CompilerSet makeprg=clojure\ -Sdeps\ ' .. escape(clojure_test_deps, ' \|"') .. '\ -Mtest:clojure-test-vim\ -m\ test-runner'
-CompilerSet errorformat=%EERROR:%f:%l:%m,%WFAIL:%f:%l:%m
+execute 'CompilerSet makeprg=clojure\ -Sdeps\ ' .. escape(clojure_test_deps, ' \|"') .. '\ -Mtest:clojure-test-vim\ --report\ stderr\ -m\ test-runner\ -test-file'
+CompilerSet errorformat=%EERROR:%f:%l:%m,%CERROR-CONTINUE:%m,%WFAIL:%f:%l:%m,%CFAIL-CONTINUE:%m

--
Gitblit v1.9.3