ale/test/command_callback/test_luac_command_callback.vader

14 lines
362 B
Plaintext
Raw Normal View History

2018-01-08 15:19:17 +00:00
Before:
call ale#assert#SetUpLinterTest('lua', 'luac')
2018-01-08 15:19:17 +00:00
After:
call ale#assert#TearDownLinterTest()
2018-01-08 15:19:17 +00:00
Execute(The default command should be correct):
AssertLinter 'luac', ale#Escape('luac') . ' -p -'
2018-01-08 15:19:17 +00:00
Execute(The luac executable should be configurable):
let g:ale_lua_luac_executable = 'luac.sh'
AssertLinter 'luac.sh', ale#Escape('luac.sh') . ' -p -'