summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-09 16:32:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-09 16:32:16 +0800
commite1d289cad9e36911c9e69128e218ad0d1002849f (patch)
treefab922f58c78e246e44d9f5b5bb6d8c1cf254e40 /test-beta
parent7339185d2f357ca9cd1c9f4bb759d60c6d0a2c37 (diff)
downloadlua-language-server-e1d289cad9e36911c9e69128e218ad0d1002849f.zip
过测试
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/completion/init.lua8
-rw-r--r--test-beta/diagnostics/init.lua3
-rw-r--r--test-beta/hover/init.lua1
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,
}
]]