Fix :RunTests with no argument

This commit is contained in:
Tim Pope 2014-04-14 01:55:16 -04:00
parent f25003deef
commit 2d1f3088b2

View File

@ -1392,7 +1392,7 @@ function! fireplace#capture_test_run(expr) abort
\ . ' ((.getRawRoot #''clojure.test/report) m)))]' \ . ' ((.getRawRoot #''clojure.test/report) m)))]'
\ . ' ' . a:expr . ')' \ . ' ' . a:expr . ')'
let qflist = [] let qflist = []
let response = s:eval(expr, {'session': 0, 'ns': fireplace#client().user_ns()}) let response = s:eval(expr, {'session': 0})
if !has_key(response, 'out') if !has_key(response, 'out')
return s:output_response(response) return s:output_response(response)
endif endif