ale/test/command_callback/test_ispc_ispc_command_callbacks.vader

21 lines
455 B
Plaintext
Raw Normal View History

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