summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 0cfce3a4..bed5828a 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -276,7 +276,7 @@ function string.lower(s: string|number)
-> string
]]
--- 不根据传入值推测参数类型
+-- 根据传入值推测参数类型
TEST [[
local function x(a, ...)
end
@@ -284,7 +284,7 @@ end
<?x?>(1, 2, 3, 4, 5, 6, 7)
]]
[[
-function x(a: any, ...any)
+function x(a: integer, ...any)
]]
TEST [[