summaryrefslogtreecommitdiff
path: root/test/linter/test_d_dls.vader
blob: 156ebf669e2c9ec3da23ed6fc6be64183291df80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Before:
  call ale#assert#SetUpLinterTest('d', 'dls')

  Save &filetype
  let &filetype = 'd'

After:
  call ale#assert#TearDownLinterTest()

Execute(The language string should be correct):
  AssertLSPLanguage 'd'

Execute(The default executable should be correct):
  AssertLinter 'dls', 'dls'

Execute(The executable should be configurable):
  let g:ale_d_dls_executable = 'foobar'

  AssertLinter 'foobar', 'foobar'