summaryrefslogtreecommitdiff
path: root/test/test_codefix.vader
diff options
context:
space:
mode:
authoryoshi1123 <65735241+yoshi1123@users.noreply.github.com>2022-03-04 14:03:27 -0500
committerGitHub <noreply@github.com>2022-03-04 19:03:27 +0000
commite490e87a60af7c5c630434aa7d980d01b4d03ecc (patch)
treee7629ff7c46a20fd802e935c6a79cbbe1e6965ff /test/test_codefix.vader
parentb42153eb1786fbff1c926e60c23ba82b0108f0cc (diff)
downloadale-e490e87a60af7c5c630434aa7d980d01b4d03ecc.zip
Add eclipselsp jdt:// support for textDocument/definition (#4030)
This patch adds support for opening jdt:// links on "go to definition" requests returned by Java language servers. Co-authored-by: w0rp <devw0rp@gmail.com>
Diffstat (limited to 'test/test_codefix.vader')
-rw-r--r--test/test_codefix.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_codefix.vader b/test/test_codefix.vader
index 88a3676c..2d6d215b 100644
--- a/test/test_codefix.vader
+++ b/test/test_codefix.vader
@@ -511,7 +511,7 @@ Execute(LSP code action requests should be sent):
\ 'diagnostics': [{'range': {'end': {'character': 6, 'line': 1}, 'start': {'character': 4, 'line': 1}}, 'code': 2304, 'message': 'oops'}]
\ },
\ 'range': {'end': {'character': 5, 'line': 1}, 'start': {'character': 4, 'line': 1}},
- \ 'textDocument': {'uri': ale#path#ToURI(expand('%:p'))}
+ \ 'textDocument': {'uri': ale#path#ToFileURI(expand('%:p'))}
\ }]
\ ],
\ g:message_list[-1:]
@@ -543,7 +543,7 @@ Execute(LSP code action requests should be sent only for error with code):
\ 'diagnostics': [{'range': {'end': {'character': 6, 'line': 1}, 'start': {'character': 4, 'line': 1}}, 'code': 2304, 'message': 'oops'}]
\ },
\ 'range': {'end': {'character': 5, 'line': 1}, 'start': {'character': 4, 'line': 1}},
- \ 'textDocument': {'uri': ale#path#ToURI(expand('%:p'))}
+ \ 'textDocument': {'uri': ale#path#ToFileURI(expand('%:p'))}
\ }]
\ ],
\ g:message_list[-1:]