File: test_c3_c3lsp.vader

package info (click to toggle)
vim-ale 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,764 kB
  • sloc: sh: 499; python: 311; perl: 31; makefile: 4; xml: 4; javascript: 1
file content (16 lines) | stat: -rw-r--r-- 428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Before:
  call ale#assert#SetUpLinterTest('c3', 'c3lsp')

After:
  call ale#assert#TearDownLinterTest()

Execute(The default c3lsp settings should be correct):
  AssertLinter 'c3lsp', ale#Escape('c3lsp')
  AssertLSPConfig {}

Execute(c3lsp should be configurable):
  let b:ale_c3_c3lsp_executable = 'billy'
  let b:ale_c3_c3lsp_init_options = {'x': 'y'}

  AssertLinter 'billy', ale#Escape('billy')
  AssertLSPConfig {'x': 'y'}