blob: 449ce8c3702be10502fd08d59e9080a95199e329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Before:
call ale#assert#SetUpLinterTest('yaml', 'ls')
After:
call ale#assert#TearDownLinterTest()
Execute(should set correct defaults):
AssertLinter 'yaml-language-server', ale#Escape('yaml-language-server') . ' --stdio'
Execute(should set correct LSP values):
call ale#test#SetFilename('../test-files/yaml/test.yaml')
AssertLSPLanguage 'yaml'
AssertLSPOptions {}
AssertLSPConfig {}
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/yaml')
Execute(should accept configuration settings):
AssertLSPConfig {}
let b:ale_yaml_ls_config = {'yaml': {'hover': v:false, 'completion': v:true}}
AssertLSPConfig {'yaml': {'hover': v:false, 'completion': v:true}}
|