summaryrefslogtreecommitdiff
path: root/server/test/hover
diff options
context:
space:
mode:
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()