Skip to content

Commit 166e2df

Browse files
committed
pass tests
1 parent 21c8431 commit 166e2df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/hover/init.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,14 +238,14 @@ TEST [[
238238
string.<?sub?>()
239239
]]
240240
[[
241-
function string.sub(s: string, i: integer, j?: integer)
241+
function string.sub(s: string|number, i: integer, j?: integer)
242242
-> string
243243
]]
244244

245245
TEST[[
246246
('xx'):<?sub?>()
247247
]]
248-
[[function string.sub(s: string, i: integer, j?: integer)
248+
[[function string.sub(s: string|number, i: integer, j?: integer)
249249
-> string]]
250250

251251
TEST [[
@@ -272,7 +272,7 @@ TEST [[
272272
string.<?lower?>()
273273
]]
274274
[[
275-
function string.lower(s: string)
275+
function string.lower(s: string|number)
276276
-> string
277277
]]
278278

0 commit comments

Comments
 (0)