test/lsp: ensure linter name is set

All linters should have a name variable set in their dictionary, and
code should be able to rely on that. Fix this test such that its example
linter contains a name entry.
This commit is contained in:
brian m. carlson
2019-01-26 04:45:22 +00:00
parent f12d312aa4
commit 766636e0c4

View File

@@ -17,6 +17,7 @@ Execute(Command formatting should be applied correctly for LSP linters):
call ale#lsp_linter#StartLSP( call ale#lsp_linter#StartLSP(
\ bufnr(''), \ bufnr(''),
\ { \ {
\ 'name': 'linter',
\ 'language_callback': {-> 'x'}, \ 'language_callback': {-> 'x'},
\ 'project_root_callback': {-> '/foo/bar'}, \ 'project_root_callback': {-> '/foo/bar'},
\ 'lsp': 'stdio', \ 'lsp': 'stdio',