Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jomixedyu committed Sep 16, 2021
1 parent 53ae221 commit 30b07da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions SysLib/UnitTest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ function unittest(tb)
)
end
print(string.format("--------unit fail list %d/%d : --------\n %s", #errlist, #tb, table.concat(errlist, "\n ")))
print("--------------------------------------")
end
5 changes: 2 additions & 3 deletions SysLib/_include.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,5 @@ SysLib.Delegate = require "SysLib.Delegate" if _SMPL then Delegate = SysLib.
SysLib.Convert = require "SysLib.Convert" if _SMPL then Convert = SysLib.Convert end
SysLib.Activator = require "SysLib.Activator" if _SMPL then Activator = SysLib.Activator end

if _DEBUG then
require "SysLib.UnitTest"
end

require "SysLib.UnitTest"

0 comments on commit 30b07da

Please sign in to comment.