mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-25 11:07:27 +08:00
#3633 - Move linter tests into test/linter
This commit is contained in:
15
test/linter/test_zig_zls.vader
Normal file
15
test/linter/test_zig_zls.vader
Normal file
@@ -0,0 +1,15 @@
|
||||
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('../test-files/zig/main.zig')
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/zig')
|
||||
Reference in New Issue
Block a user