summaryrefslogtreecommitdiff
path: root/test-beta/completion/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-08 17:11:08 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-08 17:11:08 +0800
commit7a2ef1c1a699417ce7998bc088c68fc652d745af (patch)
tree56f9ef9c7819327a46b3fdf5c707277c60f71817 /test-beta/completion/init.lua
parentcd85566f13cfa14cd6cd955363114e6591436178 (diff)
downloadlua-language-server-7a2ef1c1a699417ce7998bc088c68fc652d745af.zip
callarg的enum
Diffstat (limited to 'test-beta/completion/init.lua')
-rw-r--r--test-beta/completion/init.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index 828e0ac4..d73ec4f4 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -45,6 +45,7 @@ function TEST(script)
assert(result == nil)
return
end
+ assert(result ~= nil)
for _, item in ipairs(result) do
core.resolve(item.id)
for k in pairs(item) do
@@ -448,14 +449,14 @@ end
},
}
--- TODO
-do return end
-
TEST [[
collectgarbage($)
]]
(EXISTS)
+-- TODO
+do return end
+
TEST [[
collectgarbage('$')
]]