summaryrefslogtreecommitdiff
path: root/test/command_callback/test_luac_command_callback.vader
blob: 8a2345ece7eac91d6c5b9678d8bec46c7f03cd89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 - '