mirror of
https://github.com/dense-analysis/ale
synced 2024-12-17 20:05:31 +00:00
16 lines
609 B
Plaintext
16 lines
609 B
Plaintext
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'
|