示例工程 25-project-layout-and-luarocks
25-project-layout-and-luarocks/01-rock-layout/_test.lua
-- @runtimes lua54 luajit
local h = require("harness")
local m = require("main")
h.describe("rock 布局", function()
h.it("模块可 require", function()
local r = m.run(function() end)
h.eq(r.message, "hello Ada")
h.eq(r.module_loaded, true)
end)
end)
h.run()