summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua64
1 files changed, 32 insertions, 32 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index d0e50036..adfa00bf 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -54,39 +54,39 @@ obj:<?init?>(1, '测试')
function mt:init(a: any, b: any, c: any)
]]
-TEST [[
-local mt = {}
-mt.__index = mt
-mt.type = 'Class'
-
-function mt:init(a, b, c)
- return
-end
-
-local obj = setmetatable({}, mt)
-
-obj:<?init?>(1, '测试')
-]]
-[[
-function Class:init(a: any, b: any, c: any)
-]]
-
-TEST [[
-local mt = {}
-mt.__index = mt
-mt.__name = 'Class'
-
-function mt:init(a, b, c)
- return
-end
-
-local obj = setmetatable({}, mt)
+--TEST [[
+--local mt = {}
+--mt.__index = mt
+--mt.type = 'Class'
+--
+--function mt:init(a, b, c)
+-- return
+--end
+--
+--local obj = setmetatable({}, mt)
+--
+--obj:<?init?>(1, '测试')
+--]]
+--[[
+--function Class:init(a: any, b: any, c: any)
+--]]
-obj:<?init?>(1, '测试')
-]]
-[[
-function Class:init(a: any, b: any, c: any)
-]]
+--TEST [[
+--local mt = {}
+--mt.__index = mt
+--mt.__name = 'Class'
+--
+--function mt:init(a, b, c)
+-- return
+--end
+--
+--local obj = setmetatable({}, mt)
+--
+--obj:<?init?>(1, '测试')
+--]]
+--[[
+--function Class:init(a: any, b: any, c: any)
+--]]
TEST [[
local mt = {}