-- @runtimes lua54 luajit local h = require("harness") local m = require("main") h.describe("弱表", function() h.it("强引用消失后条目被回收", function() local r = m.run(function() end) h.eq(r.collected, true) end) end) h.run()