summaryrefslogtreecommitdiff
path: root/test-beta/references
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-20 21:05:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-20 21:05:43 +0800
commit656fb65304e97dab47a4932331de5eda19cb764b (patch)
tree91e67e1fac5189bee7797fbb03dc77a63539789e /test-beta/references
parent4b9ccc38721abd2a152cbd3920582a11e04da8a9 (diff)
downloadlua-language-server-656fb65304e97dab47a4932331de5eda19cb764b.zip
基础的 doc.class 与 doc.type 跳转
Diffstat (limited to 'test-beta/references')
-rw-r--r--test-beta/references/init.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua
index af9c38af..dc05a63b 100644
--- a/test-beta/references/init.lua
+++ b/test-beta/references/init.lua
@@ -48,7 +48,6 @@ function TEST(script)
end
assert(founded(target, positions))
else
- local results = core('', pos)
assert(#target == 0)
end
end
@@ -279,12 +278,12 @@ TEST [[
---@class Class
local <?t?>
---@type Class
-local <!t!>
+local <!x!>
]]
TEST [[
---@class Class
local <!t!>
---@type Class
-local <?t?>
+local <?x?>
]]