summaryrefslogtreecommitdiff
path: root/server/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-28 16:38:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-28 16:38:50 +0800
commit57a03f7146d583f5f9536c5bf16e599b481afab1 (patch)
tree98bbe6cd4dfe02a26bcacfa9e727d2e2102bb3d8 /server/test/hover
parent3eddd7eb2f4e22f29b1cc286e06dea345991da18 (diff)
downloadlua-language-server-57a03f7146d583f5f9536c5bf16e599b481afab1.zip
不需要合并返回值了
Diffstat (limited to 'server/test/hover')
-rw-r--r--server/test/hover/init.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index a0a8475f..6534cac2 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -84,7 +84,9 @@ obj.<?xxx?>()
TEST [[
obj.<?xxx?>()
]]
-"function obj.xxx()"
+[[function obj.xxx()
+ -> any
+]]
TEST [[
local <?x?> = 1
@@ -152,7 +154,8 @@ local <?root?> = fs.current_path()
TEST[[
('xx'):<?yy?>()
]]
-"function *string:yy()"
+[[function *string:yy()
+ -> any]]
TEST [[
local <?v?> = collectgarbage()