-- @runtimes lua54 luajit local h = require("harness") local m = require("main") h.describe("require 缓存", function() h.it("返回同一张表", function() local r = m.run(function() end) h.eq(r.same, true) h.eq(r.loaded, true) end) end) h.run()