mirror of https://github.com/dense-analysis/ale
Update tests in response to changes in #1797.
This commit is contained in:
parent
6f2d868baf
commit
8a9b28daf9
|
@ -111,7 +111,7 @@ Execute(Other files should be jumped to for definition responses):
|
||||||
|
|
||||||
AssertEqual
|
AssertEqual
|
||||||
\ [
|
\ [
|
||||||
\ 'edit +3' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
\ 'edit +3 ' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
||||||
\ ],
|
\ ],
|
||||||
\ g:expr_list
|
\ g:expr_list
|
||||||
AssertEqual [3, 7], getpos('.')[1:2]
|
AssertEqual [3, 7], getpos('.')[1:2]
|
||||||
|
@ -136,7 +136,7 @@ Execute(Other files should be jumped to for definition responses in tabs too):
|
||||||
|
|
||||||
AssertEqual
|
AssertEqual
|
||||||
\ [
|
\ [
|
||||||
\ 'tabedit +3' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
\ 'tabedit +3 ' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
||||||
\ ],
|
\ ],
|
||||||
\ g:expr_list
|
\ g:expr_list
|
||||||
AssertEqual [3, 7], getpos('.')[1:2]
|
AssertEqual [3, 7], getpos('.')[1:2]
|
||||||
|
@ -206,7 +206,7 @@ Execute(Other files should be jumped to for LSP definition responses):
|
||||||
|
|
||||||
AssertEqual
|
AssertEqual
|
||||||
\ [
|
\ [
|
||||||
\ 'edit +3' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
\ 'edit +3 ' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
||||||
\ ],
|
\ ],
|
||||||
\ g:expr_list
|
\ g:expr_list
|
||||||
AssertEqual [3, 7], getpos('.')[1:2]
|
AssertEqual [3, 7], getpos('.')[1:2]
|
||||||
|
@ -251,7 +251,7 @@ Execute(Other files should be jumped to in tabs for LSP definition responses):
|
||||||
|
|
||||||
AssertEqual
|
AssertEqual
|
||||||
\ [
|
\ [
|
||||||
\ 'tabedit +3' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
\ 'tabedit +3 ' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
||||||
\ ],
|
\ ],
|
||||||
\ g:expr_list
|
\ g:expr_list
|
||||||
AssertEqual [3, 7], getpos('.')[1:2]
|
AssertEqual [3, 7], getpos('.')[1:2]
|
||||||
|
@ -282,7 +282,7 @@ Execute(Definition responses with lists should be handled):
|
||||||
|
|
||||||
AssertEqual
|
AssertEqual
|
||||||
\ [
|
\ [
|
||||||
\ 'edit +3' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
\ 'edit +3 ' . fnameescape(ale#path#Simplify(g:dir . '/completion_dummy_file')),
|
||||||
\ ],
|
\ ],
|
||||||
\ g:expr_list
|
\ g:expr_list
|
||||||
AssertEqual [3, 7], getpos('.')[1:2]
|
AssertEqual [3, 7], getpos('.')[1:2]
|
||||||
|
|
Loading…
Reference in New Issue