Skip to content

Commit

Permalink
saner commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Jun 14, 2024
1 parent 8deb086 commit 0bfcb4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,5 @@ minetest.register_allow_player_inventory_action(function(player, action, inv, da
end
end)

if true then
dofile(skins.modpath.."/unittest.lua")
end
--dofile(skins.modpath.."/unittest.lua")

5 changes: 2 additions & 3 deletions unittest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ local function run_unittest()
error("Unittest passed! Please disable them now.")
end

if skins._enable_unittest then
run_unittest()
end
run_unittest()

0 comments on commit 0bfcb4e

Please sign in to comment.