summaryrefslogtreecommitdiff
path: root/test/test_rename.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_rename.vader')
-rw-r--r--test/test_rename.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_rename.vader b/test/test_rename.vader
index 4298715f..83f0aa7e 100644
--- a/test/test_rename.vader
+++ b/test/test_rename.vader
@@ -487,13 +487,13 @@ Execute(LSP rename requests should be sent):
\ [
\ [1, 'textDocument/didChange', {
\ 'textDocument': {
- \ 'uri': ale#path#ToURI(expand('%:p')),
+ \ 'uri': ale#path#ToFileURI(expand('%:p')),
\ 'version': g:ale_lsp_next_version_id - 1,
\ },
\ 'contentChanges': [{'text': join(getline(1, '$'), "\n") . "\n"}]
\ }],
\ [0, 'textDocument/rename', {
- \ 'textDocument': {'uri': ale#path#ToURI(expand('%:p'))},
+ \ 'textDocument': {'uri': ale#path#ToFileURI(expand('%:p'))},
\ 'position': {'line': 0, 'character': 2},
\ 'newName': 'a-new-name',
\ }],