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
609 B
Text
15 lines
609 B
Text
Before:
|
|
call ale#assert#SetUpLinterTest('openapi', 'ibm_validator')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The yaml ibm-openapi-validator command callback should return the correct default string):
|
|
AssertLinter 'lint-openapi', ale#Escape('lint-openapi') . ' %t'
|
|
|
|
Execute(The yaml ibm-openapi-validator command callback should be configurable):
|
|
let g:ale_openapi_ibm_validator_executable = '~/.local/bin/lint-openapi'
|
|
let g:ale_openapi_ibm_validator_options = '-c ~/.config'
|
|
|
|
AssertLinter '~/.local/bin/lint-openapi', ale#Escape('~/.local/bin/lint-openapi')
|
|
\ . ' -c ~/.config %t'
|