summaryrefslogtreecommitdiff
path: root/test/lsp/test_other_initialize_message_handling.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-22 19:04:45 +0100
committerw0rp <devw0rp@gmail.com>2018-07-22 19:04:55 +0100
commit6dc737cda1d640d2067b417ec270fbb623e3f960 (patch)
tree1804f0f4ca0f01957104b5cb5bda0c21f43893c3 /test/lsp/test_other_initialize_message_handling.vader
parent899b61c5cc4564abb8a697532dc1376896c8e70d (diff)
downloadale-6dc737cda1d640d2067b417ec270fbb623e3f960.zip
Check LSP capabilities before using them
Diffstat (limited to 'test/lsp/test_other_initialize_message_handling.vader')
-rw-r--r--test/lsp/test_other_initialize_message_handling.vader6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lsp/test_other_initialize_message_handling.vader b/test/lsp/test_other_initialize_message_handling.vader
index f9567ee0..45457979 100644
--- a/test/lsp/test_other_initialize_message_handling.vader
+++ b/test/lsp/test_other_initialize_message_handling.vader
@@ -3,6 +3,7 @@ Before:
\ 'initialized': 0,
\ 'init_request_id': 3,
\ 'message_queue': [],
+ \ 'capabilities_queue': [],
\}
let b:conn = {
@@ -34,6 +35,7 @@ Execute(publishDiagnostics messages with files inside project directories should
\ 'initialized': 0,
\ 'init_request_id': 3,
\ 'message_queue': [],
+ \ 'capabilities_queue': [],
\ },
\ b:project
@@ -47,6 +49,7 @@ Execute(publishDiagnostics messages with files inside project directories should
\ 'initialized': 1,
\ 'init_request_id': 3,
\ 'message_queue': [],
+ \ 'capabilities_queue': [],
\ },
\ b:project
@@ -60,6 +63,7 @@ Execute(Messages with no method and capabilities should initialize projects):
\ 'initialized': 1,
\ 'init_request_id': 3,
\ 'message_queue': [],
+ \ 'capabilities_queue': [],
\ },
\ b:project
@@ -120,6 +124,7 @@ Execute(Capabilities should bet set up correctly):
\ '/foo/bar': {
\ 'initialized': 1,
\ 'message_queue': [],
+ \ 'capabilities_queue': [],
\ 'init_request_id': 3,
\ },
\ },
@@ -170,6 +175,7 @@ Execute(Disabled capabilities should be recognised correctly):
\ '/foo/bar': {
\ 'initialized': 1,
\ 'message_queue': [],
+ \ 'capabilities_queue': [],
\ 'init_request_id': 3,
\ },
\ },