summaryrefslogtreecommitdiff
path: root/test/lsp
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-08-16 14:19:12 +0100
committerw0rp <devw0rp@gmail.com>2018-08-16 14:19:12 +0100
commitad8b26051913c8bcd58e362d45a9781697904bf9 (patch)
tree4829e633451e1c0102eebaa8f51e1ffffba1acde /test/lsp
parentfaaa11567a487c4d9752df24eadf00d314da5d2a (diff)
downloadale-ad8b26051913c8bcd58e362d45a9781697904bf9.zip
Fix #1816 - Fix a type error in the initialize message handler
Diffstat (limited to 'test/lsp')
-rw-r--r--test/lsp/test_other_initialize_message_handling.vader7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lsp/test_other_initialize_message_handling.vader b/test/lsp/test_other_initialize_message_handling.vader
index 45457979..f5e0f1da 100644
--- a/test/lsp/test_other_initialize_message_handling.vader
+++ b/test/lsp/test_other_initialize_message_handling.vader
@@ -181,3 +181,10 @@ Execute(Disabled capabilities should be recognised correctly):
\ },
\ },
\ b:conn
+
+Execute(Results that are not dictionaries should be handled correctly):
+ call ale#lsp#HandleOtherInitializeResponses(b:conn, {
+ \ 'jsonrpc': '2.0',
+ \ 'id': 1,
+ \ 'result': v:null,
+ \})