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 851443ec..63220a59 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: integer, ...any)
+function x(a: any, ...any)
]]
TEST [[