16 lines
402 B
Text
16 lines
402 B
Text
|
Before:
|
||
|
call ale#assert#SetUpLinterTest('zig', 'zls')
|
||
|
|
||
|
After:
|
||
|
call ale#assert#TearDownLinterTest()
|
||
|
|
||
|
Execute(The default executable path should be correct):
|
||
|
AssertLinter 'zls', ale#Escape('zls')
|
||
|
|
||
|
Execute(The project root should be detected correctly):
|
||
|
AssertLSPProject ''
|
||
|
|
||
|
call ale#test#SetFilename('zig-zls-project/main.zig')
|
||
|
|
||
|
AssertLSPProject ale#path#Simplify(g:dir . '/zig-zls-project')
|