Skip to content
Browse files

Merge pull request #3 from haberman/master

Currently returns 0 to OS even if tests fail.
  • Loading branch information...
2 parents 1ad6835 + 5cbb494 commit 586eebbbcef5f4239868bd5eb5190278f89ebb6f @dcurrie committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 lunitx.lua
View
3 lunitx.lua
@@ -13,6 +13,9 @@ atexit(function()
print(emsg)
os.exit(1)
end
+ if lunit.stats.failed > 0 then
+ os.exit(1)
+ end
end)
return lunit

0 comments on commit 586eebb

Please sign in to comment.
Something went wrong with that request. Please try again.