summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2024-02-26 12:46:41 +0800
committerfesily <fesil@foxmail.com>2024-02-26 12:46:41 +0800
commite03dc18930c7f8e92b2f685ff39271698903dae5 (patch)
tree166438635daeb79acbdc3b1bfcb1220bd209da09 /test/hover
parent87c83c38a3e1c4c617daeb104a0e31f5b1deaf1f (diff)
downloadlua-language-server-e03dc18930c7f8e92b2f685ff39271698903dae5.zip
update test
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 bed5828a..0cfce3a4 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 [[