summaryrefslogtreecommitdiff
path: root/test/command_callback/test_ispc_ispc_command_callbacks.vader
blob: 012cdee27cca44efe324f6f2c50561c14465e7d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Before:
  call ale#assert#SetUpLinterTest('ispc', 'ispc')

After:
  call ale#assert#TearDownLinterTest()

Execute(The executable should be configurable):
  AssertLinter 'ispc',
  \ ale#Escape('ispc') . ' %s'

  let b:ale_ispc_ispc_executable = 'foo'

  AssertLinter 'foo',
  \ ale#Escape('foo') . ' %s'

Execute(The options should be configurable):
  let g:ale_ispc_ispc_options = '--foo'

  AssertLinter 'ispc',
  \ ale#Escape('ispc') . ' --foo' . ' %s'