ale/test/linter/test_bitbake.vader

14 lines
389 B
Plaintext
Raw Normal View History

2022-02-06 05:08:10 +00:00
Before:
call ale#assert#SetUpLinterTest('bitbake', 'oelint_adv')
2022-02-06 05:08:10 +00:00
After:
call ale#assert#TearDownLinterTest()
2022-02-06 05:08:10 +00:00
Execute(The default command should be correct):
AssertLinter 'oelint-adv', ale#Escape('oelint-adv') . ' --quiet %s'
2022-02-06 05:08:10 +00:00
Execute(The executable should be configurable):
let b:ale_bitbake_oelint_adv_executable = 'xyz'
2022-02-06 05:08:10 +00:00
AssertLinter 'xyz', ale#Escape('xyz') . ' --quiet %s'