summaryrefslogtreecommitdiff
path: root/server-beta/test/definition/table.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-08 15:45:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-08 15:45:14 +0800
commit2929f89bc1fa96a7b48ee1f736cd50c9d6fc5ab4 (patch)
tree0a715582226e3717724d8e298b3b2f97ebdee19e /server-beta/test/definition/table.lua
parent005f94454fe50382c64e71f9d36fb7064895134f (diff)
downloadlua-language-server-2929f89bc1fa96a7b48ee1f736cd50c9d6fc5ab4.zip
支持table
Diffstat (limited to 'server-beta/test/definition/table.lua')
-rw-r--r--server-beta/test/definition/table.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/server-beta/test/definition/table.lua b/server-beta/test/definition/table.lua
index 90e7926f..f4a2f630 100644
--- a/server-beta/test/definition/table.lua
+++ b/server-beta/test/definition/table.lua
@@ -96,6 +96,27 @@ local t = {
t.<?insert?>()
]]
+TEST[[
+local t = {
+ <!['insert']!> = 1,
+}
+t.<?insert?>()
+]]
+
+TEST[[
+local t;t = {
+ <!insert!> = 1,
+}
+t.<?insert?>()
+]]
+
+TEST[[
+local t;t = {
+ <!insert!> = 1,
+}
+t.<?insert?>()
+]]
+
--TEST[[
--local t = {
-- <!insert!> = 1,