summaryrefslogtreecommitdiff
path: root/test/linter/test_zig_zls.vader
blob: 6d814be437897bcbba69b0f2559752288f8d9904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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')