diff options
Diffstat (limited to 'test-beta')
-rw-r--r-- | test-beta/rename/init.lua | 55 |
1 files changed, 27 insertions, 28 deletions
diff --git a/test-beta/rename/init.lua b/test-beta/rename/init.lua index f19af4cf..5ca0ca15 100644 --- a/test-beta/rename/init.lua +++ b/test-beta/rename/init.lua @@ -82,34 +82,33 @@ local function f(b) end ]] --- TODO ---TEST ('a', '!!!') [[ ---t = { --- a = 0 ---} ---t.a = 1 ---a = t.a ---]] [[ ---t = { --- ["!!!"] = 0 ---} ---t["!!!"] = 1 ---a = t["!!!"] ---]] - ---TEST ('a', '!!!') [[ ---t = { --- ['a'] = 0 ---} ---t.a = 1 ---a = t.a ---]] [[ ---t = { --- ['!!!'] = 0 ---} ---t["!!!"] = 1 ---a = t["!!!"] ---]] +TEST ('a', '!!!') [[ +t = { + a = 0 +} +t.a = 1 +a = t.a +]] [[ +t = { + ["!!!"] = 0 +} +t["!!!"] = 1 +a = t["!!!"] +]] + +TEST ('a', '!!!') [[ +t = { + ['a'] = 0 +} +t.a = 1 +a = t.a +]] [[ +t = { + ['!!!'] = 0 +} +t["!!!"] = 1 +a = t["!!!"] +]] TEST ('a', '"') [[ print(t[ "a" ]) |