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

remove side effects of tests #305

Merged
merged 2 commits into from Mar 15, 2022
Merged

Commits on Mar 15, 2022

  1. exit_test.go: avoid depending on side effect of other tests

    Logging to file must be enabled explicitly. This happened to work
    randomly before, depending on which other tests were run.
    pohly committed Mar 15, 2022
    Copy the full SHA
    0013f22 View commit details
    Browse the repository at this point in the history
  2. ExampleSetLogger: reset state after test

    When running as a test, the global state must be restored because other tests
    also get run.
    pohly committed Mar 15, 2022
    Copy the full SHA
    cd54fdc View commit details
    Browse the repository at this point in the history