summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Hotham <david.hotham@metaswitch.com>2018-08-27 13:52:49 +0100
committerDavid Hotham <david.hotham@metaswitch.com>2018-08-27 13:53:40 +0100
commitaef11cc0d2bca89e98aacee0c42ac9b551deea02 (patch)
treee74fb886eebb3508fec2fdcc45152d89d8f5f7ba /test
parent9d7c48038cbbc696fe2d1e9c4b2d9eff2dd726c3 (diff)
downloadale-aef11cc0d2bca89e98aacee0c42ac9b551deea02.zip
Fix out-by-one error in column on goto-definition
Fixes #1860
Diffstat (limited to 'test')
-rw-r--r--test/test_go_to_definition.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_go_to_definition.vader b/test/test_go_to_definition.vader
index 53f566e9..b7d1f42c 100644
--- a/test/test_go_to_definition.vader
+++ b/test/test_go_to_definition.vader
@@ -209,7 +209,7 @@ Execute(Other files should be jumped to for LSP definition responses):
\ 'edit +3 ' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
\ ],
\ g:expr_list
- AssertEqual [3, 7], getpos('.')[1:2]
+ AssertEqual [3, 8], getpos('.')[1:2]
AssertEqual {}, ale#definition#GetMap()
Execute(Locations inside the same file should be jumped to without using :edit):
@@ -231,7 +231,7 @@ Execute(Locations inside the same file should be jumped to without using :edit):
\ [
\ ],
\ g:expr_list
- AssertEqual [3, 7], getpos('.')[1:2]
+ AssertEqual [3, 8], getpos('.')[1:2]
AssertEqual {}, ale#definition#GetMap()
Execute(Other files should be jumped to in tabs for LSP definition responses):
@@ -254,7 +254,7 @@ Execute(Other files should be jumped to in tabs for LSP definition responses):
\ 'tabedit +3 ' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
\ ],
\ g:expr_list
- AssertEqual [3, 7], getpos('.')[1:2]
+ AssertEqual [3, 8], getpos('.')[1:2]
AssertEqual {}, ale#definition#GetMap()
Execute(Definition responses with lists should be handled):
@@ -285,7 +285,7 @@ Execute(Definition responses with lists should be handled):
\ 'edit +3 ' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
\ ],
\ g:expr_list
- AssertEqual [3, 7], getpos('.')[1:2]
+ AssertEqual [3, 8], getpos('.')[1:2]
AssertEqual {}, ale#definition#GetMap()
Execute(Definition responses with null response should be handled):