mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
#3633 - Move linter tests into test/linter
This commit is contained in:
20
test/linter/test_ispc_ispc.vader
Normal file
20
test/linter/test_ispc_ispc.vader
Normal file
@@ -0,0 +1,20 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user