mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Add support for zeek (#3952)
This commit is contained in:
17
test/linter/test_zeek.vader
Normal file
17
test/linter/test_zeek.vader
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user