summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-01-26 04:45:22 +0000
committerbrian m. carlson <sandals@crustytoothpaste.net>2019-01-26 04:46:41 +0000
commit766636e0c436d8508ae45c51df9229745b4d05d1 (patch)
tree4b0896b55c278e16e20b5a809f8c1e69a41e3973
parentf12d312aa4aa49c4698056933030cd5adb60b489 (diff)
downloadale-766636e0c436d8508ae45c51df9229745b4d05d1.zip
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.
-rw-r--r--test/lsp/test_lsp_command_formatting.vader1
1 files changed, 1 insertions, 0 deletions
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',