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

chore: app_test.go: New->NewForTest #1004

Merged
merged 2 commits into from
Dec 27, 2022

Conversation

sywhang
Copy link
Contributor

@sywhang sywhang commented Dec 27, 2022

The tests that cover error cases for private provides were using New(opts...) rather than NewForTest(t, opts...) which caused the error logs to be present in the tests when those tests run.

This changes those to use NewForTest instead.

The tests that cover error cases for private provides were using
New(opts...) rather than NewForTest(t, opts...) which caused the
error logs to be present in the tests when those tests run.

This changes those to use NewForTest instead.
@codecov
Copy link

codecov bot commented Dec 27, 2022

Codecov Report

Merging #1004 (4d5ab92) into master (56aa0d5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1004   +/-   ##
=======================================
  Coverage   98.32%   98.32%           
=======================================
  Files          39       39           
  Lines        2025     2025           
=======================================
  Hits         1991     1991           
  Misses         26       26           
  Partials        8        8           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sywhang sywhang merged commit 0cae538 into uber-go:master Dec 27, 2022
@sywhang sywhang deleted the chore/privateprovidetests branch December 27, 2022 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants