Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure failed tests report their exit code #240

Merged
merged 1 commit into from Apr 24, 2021

Commits on Aug 27, 2020

  1. Make sure failed tests report their exit code

    Commit 72c1660 introduced TestMain, but forgot to call os.Exit with the value returned from m.Run  This causes "go test" to exit with status 0, even if tests fail.  Adding os.Exit to TestMain makes sure the success/failure of tests is correctly reported through the exit code.
    mndrix committed Aug 27, 2020
    Configuration menu
    Copy the full SHA
    4efba72 View commit details
    Browse the repository at this point in the history