mirror of
https://github.com/lune-org/lune.git
synced 2024-12-13 13:30:38 +00:00
15 lines
670 B
Lua
15 lines
670 B
Lua
local module = require("./modules")
|
|
|
|
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")
|
|
|
|
module = require("modules")
|
|
assert(module.Foo == "Bar", "Required module did not contain correct values")
|
|
assert(module.Hello == "World", "Required module did not contain correct values")
|
|
|
|
module = require("modules/modules")
|
|
assert(module.Foo == "Bar", "Required module did not contain correct values")
|
|
assert(module.Hello == "World", "Required module did not contain correct values")
|
|
|
|
return true
|