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
No known key found for this signature in database
GPG Key ID: BF535D811F52F68B
1 changed files with 1 additions and 0 deletions

View File

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