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

Tidy-up Polly.Specs #1950

Merged
merged 3 commits into from Feb 4, 2024
Merged

Tidy-up Polly.Specs #1950

merged 3 commits into from Feb 4, 2024

Conversation

martincostello
Copy link
Member

  • Use var where the type is evident.
  • Use using var to simplify code as Dispose() was the last call in the scope anyway.
  • Remove redundant qualifiers from code.

Use var where the type is evident.
Use using var to simplify code as `Dispose()` was the last call in the scope anyway.
Remove redundant qualifiers from code.
Copy link

codecov bot commented Feb 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e4cebcd) 85.91% compared to head (7237790) 85.91%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1950   +/-   ##
=======================================
  Coverage   85.91%   85.91%           
=======================================
  Files         312      312           
  Lines        6654     6654           
  Branches     1057     1057           
=======================================
  Hits         5717     5717           
  Misses        540      540           
  Partials      397      397           
Flag Coverage Δ
linux 85.91% <ø> (ø)
macos 85.91% <ø> (ø)
windows 85.91% <ø> (ø)

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 merged commit 34c0d58 into App-vNext:main Feb 4, 2024
14 checks passed
@martincostello martincostello deleted the use-var branch February 4, 2024 10:25
martincostello added a commit to martincostello/Polly that referenced this pull request Feb 5, 2024
Some more var usage missed from App-vNext#1950.
@martincostello martincostello mentioned this pull request Feb 5, 2024
martincostello added a commit that referenced this pull request Feb 5, 2024
Some more var usage missed from #1950.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant