summaryrefslogtreecommitdiff
path: root/test/linter/test_nimlsp.vader
blob: c109deef0b8d58f9fa2ab53fcbb56bef6ffa675d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Before:
  call ale#assert#SetUpLinterTest('nim', 'nimlsp')

After:
  call ale#assert#TearDownLinterTest()

Execute(It does not set nim sources by default):
  AssertLinter 'nimlsp', ale#Escape('nimlsp')

Execute(Sets nimlsp and escapes sources from g:ale_nim_nimlsp_nim_sources):
  let g:ale_nim_nimlsp_nim_sources = '/path/to /Nim'
  AssertLinter 'nimlsp', ale#Escape('nimlsp') . ' ' . ale#Escape('/path/to /Nim')