summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2022-03-12 01:18:32 +0800
committersumneko <sumneko@hotmail.com>2022-03-12 01:18:32 +0800
commit7baee6a3d54dc7cb94fb9db95d01244a17f126f6 (patch)
tree5115bddc691e44805b83700deb9325b8ee0dc85d /test
parente8e0f4d2db165be2d0df5ea9f3e2eb0bbc9df793 (diff)
downloadlua-language-server-7baee6a3d54dc7cb94fb9db95d01244a17f126f6.zip
update
Diffstat (limited to 'test')
-rw-r--r--test/type_inference/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 223b2e44..e253cba5 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -1085,14 +1085,14 @@ work(function (<?value?>)
end)
]]
-TEST 'Class' [[
+TEST 'fun(value: Class)' [[
---@class Class
---@param callback fun(value: Class)
function work(callback)
end
-pcall(work, function (<?value?>)
+pcall(work, <?function?> (value)
end)
]]