1
0
Fork 0
mirror of synced 2024-06-30 12:31:09 -04:00
ultimate-vim/sources_non_forked/ale/test/linter/test_ispc_ispc.vader
2022-05-19 21:16:38 +08:00

21 lines
482 B
Plaintext

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