diff options
Diffstat (limited to 'testes/db.lua')
-rw-r--r-- | testes/db.lua | 2 |
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 -- create a piece of garbage with a finalizer setmetatable({}, {__gc = function () - local t = debug.getinfo(2) -- get callee information + local t = debug.getinfo(1) -- get function information assert(t.namewhat == "metamethod") name = t.name end}) |