merge bugfix: show test failures

This commit is contained in:
Kartik K. Agaram 2023-01-20 23:21:59 -08:00
parent 20e46a8b56
commit d01f34c645
1 changed files with 4 additions and 0 deletions

View File

@ -13,7 +13,11 @@
function love.run()
App.snapshot_love()
-- Tests always run at the start.
Test_errors = {}
App.run_tests()
if #Test_errors > 0 then
error('There were test failures:\n\n'..table.concat(Test_errors))
end
--? print('==')
App.disable_tests()