mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-24 00:03:00 +00:00
15 lines
No EOL
296 B
Lua
15 lines
No EOL
296 B
Lua
-- Test registry
|
|
local test_id_paths = {
|
|
"credits.test.lua",
|
|
"notify.test.lua",
|
|
"notify_bad.test.lua",
|
|
"notify_suppress.test.lua",
|
|
"stacktrace.test.lua",
|
|
}
|
|
|
|
-- Test loader
|
|
local test_loader = function (path)
|
|
for _, v in ipairs(test_id_paths) do dofile(path .. v) end
|
|
end
|
|
|
|
return test_loader |