summaryrefslogtreecommitdiff
path: root/test/command_callback/test_zig_zls_callbacks.vader
blob: 6e42cc4b12d9fecd4cff7ba8d3d0f0a19347b24f (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('zig-zls-project/main.zig')

  AssertLSPProject ale#path#Simplify(g:dir . '/zig-zls-project')