summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-05-30 10:26:09 +0100
committerw0rp <devw0rp@gmail.com>2019-05-30 10:26:17 +0100
commit27146ade32d6686fefde27de76b65bcdf353eab5 (patch)
tree981537646e5cd759c514648bb8afea379704769c /test
parent4f02edc3f882e6cb77b8dc03bc118172cfe5d857 (diff)
downloadale-27146ade32d6686fefde27de76b65bcdf353eab5.zip
Fix #2544 - Completion positions are off by one
Diffstat (limited to 'test')
-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 9598e5f0..6bd241a8 100644
--- a/test/completion/test_lsp_completion_messages.vader
+++ b/test/completion/test_lsp_completion_messages.vader
@@ -219,7 +219,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
@@ -280,7 +280,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