summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-01-21 21:11:02 +0000
committerGitHub <noreply@github.com>2019-01-21 21:11:02 +0000
commita4932679b5c0d2917a399614a25c9827d63eecb1 (patch)
tree827bc197e9fe6aa7864645cf1e52883a4b2d81d5 /test/completion
parent37107df6f37a63f4e8e7fc8d08ef9ea7c0398a88 (diff)
parentbcf63eea96ae83a5557a779324b3c1c5ec59f990 (diff)
downloadale-a4932679b5c0d2917a399614a25c9827d63eecb1.zip
Merge pull request #2224 from andreypopp/andreypopp/lsp-hover-fix-column
Adjust column to be 0-based for LSP messages
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/test_lsp_completion_messages.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/completion/test_lsp_completion_messages.vader b/test/completion/test_lsp_completion_messages.vader
index 130f31b9..f670e186 100644
--- a/test/completion/test_lsp_completion_messages.vader
+++ b/test/completion/test_lsp_completion_messages.vader
@@ -215,7 +215,7 @@ Execute(The right message should be sent for the initial LSP request):
\ }],
\ [0, 'textDocument/completion', {
\ 'textDocument': {'uri': ale#path#ToURI(expand('%:p'))},
- \ 'position': {'line': 0, 'character': 3},
+ \ 'position': {'line': 0, 'character': 2},
\ }],
\ ],
\ g:message_list
@@ -274,7 +274,7 @@ Execute(Two completion requests shouldn't be sent in a row):
\ }],
\ [0, 'textDocument/completion', {
\ 'textDocument': {'uri': ale#path#ToURI(expand('%:p'))},
- \ 'position': {'line': 0, 'character': 3},
+ \ 'position': {'line': 0, 'character': 2},
\ }],
\ ],
\ g:message_list