summaryrefslogtreecommitdiff
path: root/server-beta/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-04 15:21:47 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-04 15:21:47 +0800
commit8b0c1b531ea5db979fa50b4d11d511dddc34df13 (patch)
treed3d8c794167ca90d12971562e6f03305ac957d42 /server-beta/test
parent37818cece496dad3fa683065e3e0c32e6ede186b (diff)
downloadlua-language-server-8b0c1b531ea5db979fa50b4d11d511dddc34df13.zip
除了 emmy 以外的查找引用测试跑通了,可喜可贺
Diffstat (limited to 'server-beta/test')
-rw-r--r--server-beta/test/crossfile/definition.lua70
1 files changed, 35 insertions, 35 deletions
diff --git a/server-beta/test/crossfile/definition.lua b/server-beta/test/crossfile/definition.lua
index d09f22af..f218bf69 100644
--- a/server-beta/test/crossfile/definition.lua
+++ b/server-beta/test/crossfile/definition.lua
@@ -345,7 +345,7 @@ TEST {
content = [[
local function <!f!>()
end
- return f
+ return <!f!>
]]
},
{
@@ -380,38 +380,38 @@ TEST {
}
}
-TEST {
- {
- path = 'a.lua',
- content = [[
- ---@class Class
- local <!obj!>
- ]]
- },
- {
- path = 'b.lua',
- content = [[
- ---@type Class
- local <!obj!>
- <?obj?>
- ]]
- },
-}
+--TEST {
+-- {
+-- path = 'a.lua',
+-- content = [[
+-- ---@class Class
+-- local <!obj!>
+-- ]]
+-- },
+-- {
+-- path = 'b.lua',
+-- content = [[
+-- ---@type Class
+-- local <!obj!>
+-- <?obj?>
+-- ]]
+-- },
+--}
-TEST {
- {
- path = 'a.lua',
- content = [[
- ---@type Class
- local <!obj!>
- <?obj?>
- ]]
- },
- {
- path = 'b.lua',
- content = [[
- ---@class Class
- local <!obj!>
- ]]
- },
-}
+--TEST {
+-- {
+-- path = 'a.lua',
+-- content = [[
+-- ---@type Class
+-- local <!obj!>
+-- <?obj?>
+-- ]]
+-- },
+-- {
+-- path = 'b.lua',
+-- content = [[
+-- ---@class Class
+-- local <!obj!>
+-- ]]
+-- },
+--}