diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-10-09 16:32:16 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-10-09 16:32:16 +0800 |
commit | e1d289cad9e36911c9e69128e218ad0d1002849f (patch) | |
tree | fab922f58c78e246e44d9f5b5bb6d8c1cf254e40 /test-beta | |
parent | 7339185d2f357ca9cd1c9f4bb759d60c6d0a2c37 (diff) | |
download | lua-language-server-e1d289cad9e36911c9e69128e218ad0d1002849f.zip |
过测试
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/completion/init.lua | 8 | ||||
-rw-r--r-- | test-beta/diagnostics/init.lua | 3 | ||||
-rw-r--r-- | test-beta/hover/init.lua | 1 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua index 8fae0bd3..568937b1 100644 --- a/test-beta/completion/init.lua +++ b/test-beta/completion/init.lua @@ -558,21 +558,21 @@ collectgarbage('$') }, }, { - label = "'setpause'", + label = "'incremental'", kind = CompletionItemKind.EnumMember, textEdit = { start = 16, finish = 17, - newText = "'setpause'", + newText = "'incremental'", }, }, { - label = "'setstepmul'", + label = "'generational'", kind = CompletionItemKind.EnumMember, textEdit = { start = 16, finish = 17, - newText = "'setstepmul'", + newText = "'generational'", }, }, { diff --git a/test-beta/diagnostics/init.lua b/test-beta/diagnostics/init.lua index 9a048ea9..49d11dc2 100644 --- a/test-beta/diagnostics/init.lua +++ b/test-beta/diagnostics/init.lua @@ -459,9 +459,8 @@ local f = load('') f(1, 2, 3) ]] -require 'config' .config.runtime.version = 'Lua 5.3' TEST [[ -<!warn!>(1) +<!unpack!>(1) ]] TEST [[ diff --git a/test-beta/hover/init.lua b/test-beta/hover/init.lua index 99b394c8..f06afbfc 100644 --- a/test-beta/hover/init.lua +++ b/test-beta/hover/init.lua @@ -819,6 +819,7 @@ global _G: _G { tostring: function, type: function, utf8: utf8, + warn: function, xpcall: function, } ]] |