summaryrefslogtreecommitdiff
path: root/test/lsp/test_other_initialize_message_handling.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-02-15 10:42:34 +0000
committerw0rp <devw0rp@gmail.com>2019-02-15 10:44:45 +0000
commit1a69c9c88ccb97655ee75c9fe02dcc81bc228626 (patch)
treed542e134cd03789ef2c0e7cde3e3142d52f9bb48 /test/lsp/test_other_initialize_message_handling.vader
parent0d10653a7c780ac98fd2b980679676f5e8f231e7 (diff)
downloadale-1a69c9c88ccb97655ee75c9fe02dcc81bc228626.zip
#2295 Send an empty object for the initialized notification, per the spec
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, 3 insertions, 3 deletions
diff --git a/test/lsp/test_other_initialize_message_handling.vader b/test/lsp/test_other_initialize_message_handling.vader
index 4150b9d7..0372765d 100644
--- a/test/lsp/test_other_initialize_message_handling.vader
+++ b/test/lsp/test_other_initialize_message_handling.vader
@@ -43,7 +43,7 @@ Execute(Messages with no method and capabilities should initialize projects):
\})
AssertEqual 1, b:conn.initialized
- AssertEqual [[1, 'initialized']], g:message_list
+ AssertEqual [[1, 'initialized', {}]], g:message_list
Execute(Other messages should not initialize projects):
call ale#lsp#HandleInitResponse(b:conn, {'method': 'lolwat'})
@@ -102,7 +102,7 @@ Execute(Capabilities should bet set up correctly):
\ 'symbol_search': 1,
\ },
\ b:conn.capabilities
- AssertEqual [[1, 'initialized']], g:message_list
+ AssertEqual [[1, 'initialized', {}]], g:message_list
Execute(Disabled capabilities should be recognised correctly):
call ale#lsp#HandleInitResponse(b:conn, {
@@ -145,7 +145,7 @@ Execute(Disabled capabilities should be recognised correctly):
\ 'symbol_search': 0,
\ },
\ b:conn.capabilities
- AssertEqual [[1, 'initialized']], g:message_list
+ AssertEqual [[1, 'initialized', {}]], g:message_list
Execute(Results that are not dictionaries should be handled correctly):
call ale#lsp#HandleInitResponse(b:conn, {