2018-11-11 12:26:37 -05:00
|
|
|
Before:
|
|
|
|
call ale#assert#SetUpLinterTest('ispc', 'ispc')
|
|
|
|
|
|
|
|
After:
|
|
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
|
|
|
|
Execute(The executable should be configurable):
|
|
|
|
AssertLinter 'ispc',
|
2018-11-21 04:40:07 -05:00
|
|
|
\ ale#Escape('ispc') . ' --nowrap %s'
|
2018-11-11 12:26:37 -05:00
|
|
|
|
|
|
|
let b:ale_ispc_ispc_executable = 'foo'
|
|
|
|
|
|
|
|
AssertLinter 'foo',
|
2018-11-21 04:40:07 -05:00
|
|
|
\ ale#Escape('foo') . ' --nowrap %s'
|
2018-11-11 12:26:37 -05:00
|
|
|
|
|
|
|
Execute(The options should be configurable):
|
|
|
|
let g:ale_ispc_ispc_options = '--foo'
|
|
|
|
|
|
|
|
AssertLinter 'ispc',
|
2018-11-21 04:40:07 -05:00
|
|
|
\ ale#Escape('ispc') . ' --nowrap --foo' . ' %s'
|