2020-07-11 00:14:12 +00:00
|
|
|
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 ''
|
|
|
|
|
2021-03-20 22:11:22 +00:00
|
|
|
call ale#test#SetFilename('../test-files/zig/main.zig')
|
2020-07-11 00:14:12 +00:00
|
|
|
|
2021-03-20 22:11:22 +00:00
|
|
|
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/zig')
|