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: "???"
15 lines
468 B
Text
15 lines
468 B
Text
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'
|