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

Fix warning CA1062#NoOpPolicy #2219

Conversation

Zombach
Copy link
Contributor

@Zombach Zombach commented Jul 21, 2024

Pull Request

The issue or feature being addressed

#2215

Details on the issue fix or feature implementation

  • Suppress CA1062 in src/Polly/NoOp/NoOpPolicy.cs or fix the warning

Confirm the following

  • I started this PR by branching from the head of the default branch
  • I have targeted the PR to merge into the default branch
  • I have included unit tests for the issue/feature

Copy link

codecov bot commented Jul 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.91%. Comparing base (994193e) to head (d22bf21).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2219   +/-   ##
=======================================
  Coverage   83.90%   83.91%           
=======================================
  Files         313      313           
  Lines        7183     7187    +4     
  Branches     1062     1064    +2     
=======================================
+ Hits         6027     6031    +4     
  Misses        785      785           
  Partials      371      371           
Flag Coverage Δ
linux 83.91% <100.00%> (+<0.01%) ⬆️
macos 83.91% <100.00%> (+<0.01%) ⬆️
windows 83.91% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello martincostello enabled auto-merge (squash) July 21, 2024 17:02
@Zombach Zombach disabled auto-merge July 21, 2024 17:06
@Zombach
Copy link
Contributor Author

Zombach commented Jul 21, 2024

@martincostello Just noticed! That separate test classes are created for Generic. Now I will divide and reschedule the test.

@martincostello martincostello merged commit 87cfed7 into App-vNext:main Jul 21, 2024
18 checks passed
@Zombach Zombach deleted the zombach/remove-warning-ca1062#no-op-policy branch July 21, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants