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

Annotated test: Use NewForTest #927

Merged
merged 2 commits into from Aug 21, 2022
Merged

Conversation

sywhang
Copy link
Contributor

@sywhang sywhang commented Aug 21, 2022

The table tests in fx OnStart/OnStop hooks tests weren't using
NewForTest so they end up polluting the failure logs when there
are tests failing.

The table tests in fx OnStart/OnStop hooks tests weren't using
NewForTest so they end up polluting the failure logs when there
are tests failing.
@codecov
Copy link

codecov bot commented Aug 21, 2022

Codecov Report

Merging #927 (eed1a1e) into master (c2ccec5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #927   +/-   ##
=======================================
  Coverage   98.72%   98.72%           
=======================================
  Files          30       30           
  Lines        1332     1332           
=======================================
  Hits         1315     1315           
  Misses         11       11           
  Partials        6        6           

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

@sywhang sywhang merged commit b98765e into uber-go:master Aug 21, 2022
@sywhang sywhang deleted the annotated-test-fix branch August 21, 2022 22:09
sywhang added a commit to sywhang/fx that referenced this pull request Oct 11, 2022
The table tests in fx OnStart/OnStop hooks tests weren't using
NewForTest so they end up polluting the failure logs when there
are tests failing.
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.

None yet

2 participants