diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-04 15:21:47 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-04 15:21:47 +0800 |
commit | 8b0c1b531ea5db979fa50b4d11d511dddc34df13 (patch) | |
tree | d3d8c794167ca90d12971562e6f03305ac957d42 /server-beta/test | |
parent | 37818cece496dad3fa683065e3e0c32e6ede186b (diff) | |
download | lua-language-server-8b0c1b531ea5db979fa50b4d11d511dddc34df13.zip |
除了 emmy 以外的查找引用测试跑通了,可喜可贺
Diffstat (limited to 'server-beta/test')
-rw-r--r-- | server-beta/test/crossfile/definition.lua | 70 |
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!> +-- ]] +-- }, +--} |