summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-23 10:21:09 +0100
committerw0rp <devw0rp@gmail.com>2018-07-23 10:21:09 +0100
commit7bf3a749d088964b2ae42e8019dc6a570173d1bf (patch)
treeb57d3e439a56cc4c6885fc963682f50decaba927 /test/completion
parent3e4db9ed5cfc95ee75a2a7df80b54d075bdc7b00 (diff)
downloadale-7bf3a749d088964b2ae42e8019dc6a570173d1bf.zip
#1751 Handle LSP completion results without the 'kind' attribute
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/test_lsp_completion_parsing.vader6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/completion/test_lsp_completion_parsing.vader b/test/completion/test_lsp_completion_parsing.vader
index 736353e3..d5a45b54 100644
--- a/test/completion/test_lsp_completion_parsing.vader
+++ b/test/completion/test_lsp_completion_parsing.vader
@@ -430,10 +430,10 @@ Execute(Should handle Python completion results correctly):
\ }
\ })
-Execute(Should handle missing detail keys):
+Execute(Should handle missing keys):
AssertEqual
\ [
- \ {'word': 'x', 'menu': '', 'info': 'y', 'kind': 'f', 'icase': 1},
+ \ {'word': 'x', 'menu': '', 'info': '', 'kind': 'v', 'icase': 1},
\ ],
\ ale#completion#ParseLSPCompletions({
\ 'jsonrpc': '2.0',
@@ -443,8 +443,6 @@ Execute(Should handle missing detail keys):
\ 'items': [
\ {
\ 'label': 'x',
- \ 'kind': 3,
- \ 'documentation': 'y',
\ },
\ ]
\ }