I broke up with neovim....vim is my best friend now
This commit is contained in:
19
dot_vim/plugged/ale/test/linter/test_d_dls.vader
Normal file
19
dot_vim/plugged/ale/test/linter/test_d_dls.vader
Normal file
@@ -0,0 +1,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'
|
||||
Reference in New Issue
Block a user