diff options
Diffstat (limited to 'server/test/definition/table.lua')
-rw-r--r-- | server/test/definition/table.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/server/test/definition/table.lua b/server/test/definition/table.lua index 4f5d9095..addf0a66 100644 --- a/server/test/definition/table.lua +++ b/server/test/definition/table.lua @@ -25,3 +25,27 @@ local t t.<!x!> = 1 t.<?x?>() ]] + +TEST [[ +local t +t[<!1!>] = 1 +t[<?1?>]() +]] + +TEST [[ +local t +t[<!true!>] = 1 +t[<?true?>]() +]] + +TEST [[ +local t +t[<!"method"!>] = 1 +t[<?"method"?>]() +]] + +TEST [[ +local t +t[<!"method"!>] = 1 +t[<?[==[method]==]?>]() +]] |