summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-03-21 11:35:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-03-21 11:35:09 +0800
commit166e2df161813d5039c664beb480c3b483913ac2 (patch)
tree8a2b4d6bce3d28246459c03599199964fa94d758 /test
parent21c84316f4e76f0ab5472609492bafbf43b4f1ad (diff)
downloadlua-language-server-166e2df161813d5039c664beb480c3b483913ac2.zip
pass tests
Diffstat (limited to 'test')
-rw-r--r--test/hover/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 7521ddf4..e77d8c98 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -238,14 +238,14 @@ TEST [[
string.<?sub?>()
]]
[[
-function string.sub(s: string, i: integer, j?: integer)
+function string.sub(s: string|number, i: integer, j?: integer)
-> string
]]
TEST[[
('xx'):<?sub?>()
]]
-[[function string.sub(s: string, i: integer, j?: integer)
+[[function string.sub(s: string|number, i: integer, j?: integer)
-> string]]
TEST [[
@@ -272,7 +272,7 @@ TEST [[
string.<?lower?>()
]]
[[
-function string.lower(s: string)
+function string.lower(s: string|number)
-> string
]]