mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
14 lines
253 B
Lua
14 lines
253 B
Lua
local require = require
|
|
local pcall = pcall
|
|
|
|
function find_all_tests()
|
|
local loaded = _G.package.loaded
|
|
|
|
for name in pairs(loaded) do
|
|
pcall(require, name .. '_test')
|
|
pcall(require, name .. '_tests')
|
|
end
|
|
end
|
|
|
|
find_all_tests()
|