From 766636e0c436d8508ae45c51df9229745b4d05d1 Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Sat, 26 Jan 2019 04:45:22 +0000 Subject: 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. --- test/lsp/test_lsp_command_formatting.vader | 1 + 1 file changed, 1 insertion(+) (limited to 'test/lsp') diff --git a/test/lsp/test_lsp_command_formatting.vader b/test/lsp/test_lsp_command_formatting.vader index 9721f37f..fcd4f78c 100644 --- a/test/lsp/test_lsp_command_formatting.vader +++ b/test/lsp/test_lsp_command_formatting.vader @@ -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', -- cgit v1.2.3