diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 18:32:11 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-17 18:32:11 +0800 |
commit | 2b434ab4f4a078773a27e205a60b63a9ae4efe1b (patch) | |
tree | c63f76d3fa15d5f5994759e3e3bc8aa6575d3a8b /test-beta/completion/init.lua | |
parent | 54a97c8ebd12bee141eb5d0d0a3b92f9d411d0d5 (diff) | |
download | lua-language-server-2b434ab4f4a078773a27e205a60b63a9ae4efe1b.zip |
过所有测试
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r-- | test-beta/completion/init.lua | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index e11bd0fb..a37ca753 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -329,6 +329,26 @@ do$ label = 'loadfile()', kind = define.CompletionItemKind.Snippet, }, + { + label = 'loadstring', + kind = define.CompletionItemKind.Function, + deprecated = true, + }, + { + label = 'loadstring()', + kind = define.CompletionItemKind.Snippet, + deprecated = true, + }, + { + label = 'module', + kind = define.CompletionItemKind.Function, + deprecated = true, + }, + { + label = 'module()', + kind = define.CompletionItemKind.Snippet, + deprecated = true, + }, } TEST [[ @@ -850,7 +870,7 @@ xx$ TEST [[ local index -tbl[ind$] +tbl[inde$] ]] { { @@ -1271,16 +1291,12 @@ TEST [[ } TEST [[ ----@class Class ----@param x C$ +---@class ZClass +---@param x ZC$ ]] { { - label = 'Class', - kind = define.CompletionItemKind.Class, - }, - { - label = 'function', + label = 'ZClass', kind = define.CompletionItemKind.Class, }, } |