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: "???"
25 lines
593 B
Text
25 lines
593 B
Text
Before:
|
|
Save g:ale_v_v_executable
|
|
|
|
call ale#assert#SetUpLinterTest('v', 'v')
|
|
|
|
GivenCommandOutput ['/foo/bar', '/foo/baz']
|
|
|
|
After:
|
|
Restore
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The default command should be correct):
|
|
AssertLinter 'v', 'v . -o /tmp/vim-ale-v'
|
|
|
|
Execute(Extra options should be supported):
|
|
let g:ale_v_v_options = '--foo-bar'
|
|
|
|
AssertLinter 'v', 'v --foo-bar . -o /tmp/vim-ale-v'
|
|
|
|
let g:ale_v_vbuild_options = ''
|
|
|
|
Execute(The executable should be configurable):
|
|
let g:ale_v_v_executable = 'foobar'
|
|
|
|
AssertLinter 'foobar', 'foobar . -o /tmp/vim-ale-v'
|