aboutsummaryrefslogtreecommitdiff
path: root/testes
diff options
context:
space:
mode:
Diffstat (limited to 'testes')
-rw-r--r--testes/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/main.lua b/testes/main.lua
index dde72a74..5c7d0a10 100644
--- a/testes/main.lua
+++ b/testes/main.lua
@@ -312,7 +312,7 @@ setmetatable({}, {__gc = function ()
312 -- this finalizer should not be called, as object will be 312 -- this finalizer should not be called, as object will be
313 -- created after 'lua_close' has been called 313 -- created after 'lua_close' has been called
314 setmetatable({}, {__gc = function () print(3) end}) 314 setmetatable({}, {__gc = function () print(3) end})
315 print(collectgarbage()) -- cannot call collector here 315 print(collectgarbage() or false) -- cannot call collector here
316 os.exit(0, true) 316 os.exit(0, true)
317end}) 317end})
318]] 318]]
@@ -322,7 +322,7 @@ creating 1
322creating 2 322creating 2
3232 3232
324creating 3 324creating 3
325nil 325false
3261 3261
327]] 327]]
328 328