This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/command_callback/test_luac_command_callback.vader

13 lines
362 B
Text

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