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

After:
  call ale#assert#TearDownLinterTest()

Execute(The default ispc command should be configurable):
  AssertLinter 'ispc', ale#Escape('ispc') . ' --nowrap %s'

Execute(The ispc executable nad options should be configurable):
  let b:ale_ispc_ispc_executable = 'foo'
  let g:ale_ispc_ispc_options = '--foo'

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