mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--lua-only) (push) Has been cancelled
CI / test_ale (--neovim-07-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
Co-authored-by: ds <ds@local>
20 lines
681 B
Plaintext
20 lines
681 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('bindzone', 'checkzone')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The default command should be correct):
|
|
AssertLinter 'named-checkzone',
|
|
\ ale#Escape('named-checkzone') . ' -c IN example.com %t'
|
|
|
|
Execute(The default command should be overridden):
|
|
let b:ale_bindzone_checkzone_executable = '/bin/bind9-checkzone'
|
|
AssertLinter '/bin/bind9-checkzone',
|
|
\ ale#Escape('/bin/bind9-checkzone') . ' -c IN example.com %t'
|
|
|
|
Execute(The default options should be overridden):
|
|
let b:ale_bindzone_checkzone_options = '-c IN -d'
|
|
AssertLinter 'named-checkzone',
|
|
\ ale#Escape('named-checkzone') . ' -c IN -d example.com %t'
|