summaryrefslogtreecommitdiff
path: root/test/command_callback/test_luac_command_callback.vader
blob: 55f39cba712c165603f768c116d4f498c64e2cc2 (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 -'