Skip to content

Commit f583a9f

Browse files
committed
pass tests
1 parent 659964c commit f583a9f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/tclient/tests/folders-with-single-file.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ print(x)
4545

4646
client:notify('textDocument/didOpen', {
4747
textDocument = {
48-
uri = 'test://single-file.lua',
48+
uri = 'file://single-file.lua',
4949
languageId = 'lua',
5050
version = 0,
5151
text = [[
@@ -58,7 +58,7 @@ print(x)
5858
ws.awaitReady(nil)
5959

6060
local locations = client:awaitRequest('textDocument/definition', {
61-
textDocument = { uri = 'test://single-file.lua' },
61+
textDocument = { uri = 'file://single-file.lua' },
6262
position = { line = 1, character = 0 },
6363
})
6464

test/tclient/tests/single-mode.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ lclient():start(function (client)
99

1010
client:notify('textDocument/didOpen', {
1111
textDocument = {
12-
uri = 'test://single-file.lua',
12+
uri = 'file://single-file.lua',
1313
languageId = 'lua',
1414
version = 0,
1515
text = [[
@@ -22,13 +22,13 @@ print(x)
2222
ws.awaitReady()
2323

2424
local locations = client:awaitRequest('textDocument/definition', {
25-
textDocument = { uri = 'test://single-file.lua' },
25+
textDocument = { uri = 'file://single-file.lua' },
2626
position = { line = 1, character = 7 },
2727
})
2828

2929
assert(util.equal(locations, {
3030
{
31-
uri = 'test://single-file.lua',
31+
uri = 'file://single-file.lua',
3232
range = {
3333
start = { line = 0, character = 6 },
3434
['end'] = { line = 0, character = 7 },
@@ -37,7 +37,7 @@ print(x)
3737
}))
3838

3939
local locations = client:awaitRequest('textDocument/definition', {
40-
textDocument = { uri = 'test://single-file.lua' },
40+
textDocument = { uri = 'file://single-file.lua' },
4141
position = { line = 1, character = 0 },
4242
})
4343

0 commit comments

Comments
 (0)