summaryrefslogtreecommitdiff
path: root/server-beta/test
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/test')
-rw-r--r--server-beta/test/definition/table.lua2
-rw-r--r--server-beta/test/references/init.lua7
-rw-r--r--server-beta/test/rename/init.lua2
3 files changed, 9 insertions, 2 deletions
diff --git a/server-beta/test/definition/table.lua b/server-beta/test/definition/table.lua
index f4a2f630..34078413 100644
--- a/server-beta/test/definition/table.lua
+++ b/server-beta/test/definition/table.lua
@@ -98,7 +98,7 @@ t.<?insert?>()
TEST[[
local t = {
- <!['insert']!> = 1,
+ [<!'insert'!>] = 1,
}
t.<?insert?>()
]]
diff --git a/server-beta/test/references/init.lua b/server-beta/test/references/init.lua
index 327f4789..951ff516 100644
--- a/server-beta/test/references/init.lua
+++ b/server-beta/test/references/init.lua
@@ -92,6 +92,13 @@ print(t.<!a!>)
]]
TEST [[
+local t = {
+ [<?'a'?>] = 1
+}
+print(t.<!a!>)
+]]
+
+TEST [[
local <!mt!> = {}
function <!mt!>:a()
<?self?>:remove()
diff --git a/server-beta/test/rename/init.lua b/server-beta/test/rename/init.lua
index 48e82546..e9fc5aee 100644
--- a/server-beta/test/rename/init.lua
+++ b/server-beta/test/rename/init.lua
@@ -137,7 +137,7 @@ t.a = 1
a = t.a
]] [[
t = {
- ["!!!"] = 0
+ ['!!!'] = 0
}
t["!!!"] = 1
a = t["!!!"]