summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-29 02:39:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-29 02:39:09 +0800
commit02eb7711f5764bd44d07c886c492f8de9a6048bf (patch)
treefcfab125fc6be6c09fcb4081e0f33651b74948c1 /test
parentd12fb5e6b1d3b27fe33c04bc557a970f9c4ccb4e (diff)
downloadlua-language-server-02eb7711f5764bd44d07c886c492f8de9a6048bf.zip
not support fornow
Diffstat (limited to 'test')
-rw-r--r--test/references/all.lua40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/references/all.lua b/test/references/all.lua
index 5d92508d..aec6e721 100644
--- a/test/references/all.lua
+++ b/test/references/all.lua
@@ -39,26 +39,26 @@ function mt:<?x?>()
end
]]
-TEST [[
----@class Dog
-local mt = {}
-function mt:<?eat?>()
-end
-
----@class Master
-local mt2 = {}
-function mt2:init()
- ---@type Dog
- local foo = self:doSomething()
- ---@type Dog
- self.dog = getDog()
-end
-function mt2:feed()
- self.dog:<!eat!>()
-end
-function mt2:doSomething()
-end
-]]
+--TEST [[
+-----@class Dog
+--local mt = {}
+--function mt:<?eat?>()
+--end
+--
+-----@class Master
+--local mt2 = {}
+--function mt2:init()
+-- ---@type Dog
+-- local foo = self:doSomething()
+-- ---@type Dog
+-- self.dog = getDog()
+--end
+--function mt2:feed()
+-- self.dog:<!eat!>()
+--end
+--function mt2:doSomething()
+--end
+--]]
TEST [[
local function f()