aboutsummaryrefslogtreecommitdiff
path: root/testes/db.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testes/db.lua')
-rw-r--r--testes/db.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/db.lua b/testes/db.lua
index e0699724..f891e9b8 100644
--- a/testes/db.lua
+++ b/testes/db.lua
@@ -887,7 +887,7 @@ do -- testing debug info for finalizers
887 887
888 -- create a piece of garbage with a finalizer 888 -- create a piece of garbage with a finalizer
889 setmetatable({}, {__gc = function () 889 setmetatable({}, {__gc = function ()
890 local t = debug.getinfo(2) -- get callee information 890 local t = debug.getinfo(1) -- get function information
891 assert(t.namewhat == "metamethod") 891 assert(t.namewhat == "metamethod")
892 name = t.name 892 name = t.name
893 end}) 893 end})