summaryrefslogtreecommitdiff
path: root/test/linter/test_v_command_callback.vader
blob: 7bffa958fd187409192c5ba04dc75ec6d7c46672 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Before:
  call ale#assert#SetUpLinterTest('v', 'v')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default v command should be correct):
  AssertLinter 'v', ale#Escape('v') . ' . -o /tmp/vim-ale-v'

Execute(The v executable and options should be configurable):
  let g:ale_v_v_executable = 'foobar'
  let g:ale_v_v_options = '--foo-bar'

  AssertLinter 'foobar', ale#Escape('foobar') . ' --foo-bar . -o /tmp/vim-ale-v'