summaryrefslogtreecommitdiff
path: root/server/test/references/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/references/init.lua')
-rw-r--r--server/test/references/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/test/references/init.lua b/server/test/references/init.lua
index 59026031..bcaafbbc 100644
--- a/server/test/references/init.lua
+++ b/server/test/references/init.lua
@@ -78,3 +78,10 @@ local t = {
}
print(t.<!a!>)
]]
+
+TEST [[
+local <!mt!> = {}
+function <!mt!>:a()
+ <?self?>:remove()
+end
+]]