Evaluate single expression when running tests
This eliminates an extra "nil" value in the response.
This commit is contained in:
parent
d6b3e1c67c
commit
06f6bc5de6
@ -1426,8 +1426,8 @@ augroup END
|
||||
" Section: Tests
|
||||
|
||||
function! fireplace#capture_test_run(expr, ...) abort
|
||||
let expr = '(require ''clojure.test) '
|
||||
\ . '(try '
|
||||
let expr = '(try'
|
||||
\ . ' (require ''clojure.test)'
|
||||
\ . ' (binding [clojure.test/report (fn [m]'
|
||||
\ . ' (case (:type m)'
|
||||
\ . ' (:fail :error)'
|
||||
|
Loading…
Reference in New Issue
Block a user