-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 loopclosure captures from tests #15202
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: William Huang <[email protected]>
e7f91d9
to
b58be5d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15202 +/- ##
==========================================
+ Coverage 67.28% 67.31% +0.02%
==========================================
Files 1560 1560
Lines 192264 192264
==========================================
+ Hits 129366 129413 +47
+ Misses 62898 62851 -47 ☔ View full report in Codecov by Sentry. |
Description
Go 1.22 changes
for
loops to make variables have per-iteration scope instead of per-loop scope. This removes the need for the following variable assignments in tests:Related Issue(s)
Checklist
Deployment Notes