Skip to content

Commit

Permalink
Update tests in response to changes in #1797.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlarsen committed Aug 7, 2018
1 parent 6f2d868 commit 8a9b28d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test_go_to_definition.vader
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Execute(Other files should be jumped to for definition responses):

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
AssertEqual [3, 7], getpos('.')[1:2]
Expand All @@ -136,7 +136,7 @@ Execute(Other files should be jumped to for definition responses in tabs too):

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
AssertEqual [3, 7], getpos('.')[1:2]
Expand Down Expand Up @@ -206,7 +206,7 @@ Execute(Other files should be jumped to for LSP definition responses):

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
AssertEqual [3, 7], getpos('.')[1:2]
Expand Down Expand Up @@ -251,7 +251,7 @@ Execute(Other files should be jumped to in tabs for LSP definition responses):

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
AssertEqual [3, 7], getpos('.')[1:2]
Expand Down Expand Up @@ -282,7 +282,7 @@ Execute(Definition responses with lists should be handled):

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
AssertEqual [3, 7], getpos('.')[1:2]
Expand Down

0 comments on commit 8a9b28d

Please sign in to comment.