mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2025-01-05 13:50:21 +01:00
unitest
This commit is contained in:
parent
e315876c75
commit
8deb08696f
@ -1,5 +1,3 @@
|
||||
-- Ensure a best possible compatibility with `_` underscore delimiter weirdnesses
|
||||
|
||||
local function get_skin(skin_name)
|
||||
local skin = skins.get(skin_name)
|
||||
or skins.__fuzzy_match_skin_name("(unittest)", skin_name, true)
|
||||
@ -48,6 +46,6 @@ local function run_unittest()
|
||||
error("Unittest passed! Please disable them now.")
|
||||
end
|
||||
|
||||
|
||||
--run_unittest()
|
||||
|
||||
if skins._enable_unittest then
|
||||
run_unittest()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user