lune-packaging/tests/require/tests/children.luau
2023-02-05 19:13:58 -05:00

9 lines
318 B
Lua

local module = require("./modules/module")
assert(type(module) == "table", "Required module did not return a table")
assert(module.Foo == "Bar", "Required module did not contain correct values")
assert(module.Hello == "World", "Required module did not contain correct values")
require("modules/module")
return true