-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
test: convert some test code from crashable to failable #4125
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4125 +/- ##
=============================================
+ Coverage 91.338% 91.347% +0.008%
=============================================
Files 610 608 -2
Lines 48421 48308 -113
Branches 17351 17356 +5
=============================================
- Hits 44227 44128 -99
+ Misses 4101 4088 -13
+ Partials 93 92 -1
... and 43 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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. We should keep using this approach, it makes safer tests.
Helps fix #3576
I hit one of these today so just went through and removed some easy ones. There are still almost 603 uses of the force unwrap operator and 154 unchecked array indexes in the test code after these changes.
#skip-changelog