Fix a runtime error in :RunTests

This commit is contained in:
Janko Marohnić 2015-08-24 11:54:05 +02:00
parent b3b54b8715
commit 9a770d3716

View File

@ -1595,9 +1595,9 @@ function! s:RunTests(bang, count, ...) abort
if a:count < 0 if a:count < 0
let pre = '' let pre = ''
if a:0 if a:0
let expr = '(clojure.test/run-all-tests #"'.join(a:000, '|').'")' let expr = ['(clojure.test/run-all-tests #"'.join(a:000, '|').'")']
else else
let expr = '(clojure.test/run-all-tests)' let expr = ['(clojure.test/run-all-tests)']
endif endif
else else
if a:0 && a:000 !=# [fireplace#ns()] if a:0 && a:000 !=# [fireplace#ns()]