mirror of
https://github.com/dense-analysis/ale
synced 2024-12-18 20:35:29 +00:00
16 lines
468 B
Plaintext
16 lines
468 B
Plaintext
Before:
|
|
call ale#assert#SetUpLinterTest('sh', 'bashate')
|
|
call ale#test#SetFilename('test.sh')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The default bashate command should be correct):
|
|
AssertLinter 'bashate', ale#Escape('bashate') . ' %t'
|
|
|
|
Execute(The bashate command should accept options):
|
|
let b:ale_sh_bashate_options = '-i E310 --max-line-length 100'
|
|
|
|
AssertLinter 'bashate',
|
|
\ ale#Escape('bashate') . ' -i E310 --max-line-length 100 %t'
|