summaryrefslogtreecommitdiff
path: root/test-beta/references
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-20 16:58:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-20 16:58:57 +0800
commit135f38d1b4f4d7b989f738bead5b59bdaf58f7e1 (patch)
tree0057af75111840f34da65a43cd8df8ce92f63f85 /test-beta/references
parentbb319039fdf41326f23ef0c7288123889434b0a8 (diff)
downloadlua-language-server-135f38d1b4f4d7b989f738bead5b59bdaf58f7e1.zip
luadoc的第一步
Diffstat (limited to 'test-beta/references')
-rw-r--r--test-beta/references/init.lua23
1 files changed, 12 insertions, 11 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua
index 3573da55..5bca58ab 100644
--- a/test-beta/references/init.lua
+++ b/test-beta/references/init.lua
@@ -48,6 +48,7 @@ function TEST(script)
end
assert(founded(target, positions))
else
+ local results = core('', pos)
assert(#target == 0)
end
end
@@ -262,14 +263,14 @@ local <!t!>
<!t!>.<!f!> = <?t?>
]]
---TEST [[
------@class <!Class!>
------@type <?Class?>
------@type <!Class!>
---]]
---
---TEST [[
------@class <?Class?>
------@type <!Class!>
------@type <!Class!>
---]]
+TEST [[
+---@class <!Class!>
+---@type <?Class?>
+---@type <!Class!>
+]]
+
+TEST [[
+---@class <?Class?>
+---@type <!Class!>
+---@type <!Class!>
+]]