summaryrefslogtreecommitdiff
path: root/test/linter/test_gleam_gleamlsp.vader
blob: a054db6ba0f72d4bec30077221a0e3431a49e0c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Before:
  call ale#assert#SetUpLinterTest('gleam', 'gleamlsp')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default executable path should be correct):
  AssertLinter 'gleam', ale#Escape('gleam') . ' lsp'

Execute(The project root should be detected correctly):
  AssertLSPProject ''

  call ale#test#SetFilename('../test-files/gleam/gleam.toml')

  AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/gleam')