e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
17 lines
513 B
Text
17 lines
513 B
Text
Before:
|
|
call ale#assert#SetUpLinterTest('zeek', 'zeek')
|
|
|
|
let b:command_tail = ' --parse-only %s'
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
unlet! b:command_tail
|
|
|
|
Execute(The default command should be correct):
|
|
AssertLinter 'zeek', ale#Escape('zeek') . b:command_tail
|
|
|
|
Execute(The zeek executable should be configurable, and escaped properly):
|
|
let g:ale_zeek_zeek_executable = 'executable with spaces'
|
|
|
|
AssertLinter 'executable with spaces', ale#Escape('executable with spaces') . b:command_tail
|