1
0
Fork 0
mirror of synced 2024-06-30 12:31:09 -04:00
ultimate-vim/sources_non_forked/ale/test/linter/test_rflint.vader
2022-05-19 21:16:38 +08:00

21 lines
577 B
Plaintext

Before:
call ale#assert#SetUpLinterTest('robot', 'rflint')
let b:rflint_format = ' --format'
\ . ' "{filename}:{severity}:{linenumber}:{char}:{rulename}:{message}" %s'
After:
call ale#assert#TearDownLinterTest()
unlet! b:rflint_format
Execute(The rflint command callback should return default string):
AssertLinter 'rflint',
\ 'rflint'
\ . b:rflint_format
Execute(The rflint executable should be configurable):
let g:ale_robot_rflint_executable = '~/.local/bin/rflint'
AssertLinter '~/.local/bin/rflint',
\ '~/.local/bin/rflint'
\ . b:rflint_format