summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
Diffstat (limited to 'server/test')
-rw-r--r--server/test/definition/table.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/server/test/definition/table.lua b/server/test/definition/table.lua
index 04700f17..57e61a78 100644
--- a/server/test/definition/table.lua
+++ b/server/test/definition/table.lua
@@ -56,3 +56,21 @@ local t
t[<!"longString"!>] = 1
t[<?[==[longString]==]?>]()
]]
+
+TEST [[
+local t
+t.<!x!> = 1
+t[<?'x'?>]()
+]]
+
+TEST [[
+local t
+t.<!a!>.b = 1
+t.<?a?>.b()
+]]
+
+TEST [[
+local t
+local <!x!>
+t[<?x?>]()
+]]