Currently returns 0 to OS even if tests fail. #3

merged 1 commit into from Apr 9, 2012


None yet
2 participants

haberman commented Apr 8, 2012

Hi there, I was using lunitx but noticed that it returns 0 to the OS even if tests fail. Enclosed is a simple change that returns 1 if any tests fail.

It looks like there's an error handler that does this already if the xpcall() fails. I'm not sure what situations would cause this to happen so I didn't touch that branch.


@dcurrie dcurrie added a commit that referenced this pull request Apr 9, 2012

@dcurrie dcurrie Merge pull request #3 from haberman/master
Currently returns 0 to OS even if tests fail.

@dcurrie dcurrie merged commit 586eebb into dcurrie:master Apr 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment