blob: e5a0dec2822d202016bf70abc28e4b3b4db9215c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Before:
call ale#assert#SetUpLinterTest('ispc', 'ispc')
After:
call ale#assert#TearDownLinterTest()
Execute(The executable should be configurable):
AssertLinter 'ispc',
\ ale#Escape('ispc')
\ . ' -I ' . ale#Escape(getcwd())
\ . ' -'
let b:ale_ispc_ispc_executable = 'foo'
AssertLinter 'foo',
\ ale#Escape('foo')
\ . ' -I ' . ale#Escape(getcwd())
\ . ' -'
Execute(The options should be configurable):
let g:ale_ispc_ispc_options = '--foo'
AssertLinter 'ispc',
\ ale#Escape('ispc')
\ . ' -I ' . ale#Escape(getcwd())
\ . ' --foo'
\ . ' -'
|