forked from stretchr/testify
-
Notifications
You must be signed in to change notification settings - Fork 2
Test/refact test #36
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
Merged
Merged
Test/refact test #36
+10,440
−3,772
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Support for IsOfType, IsNotOfType assertions. Originally posted as stretchr#1805 Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Originally from upstream: stretchr#1685 NOTE: did not add SeqElementsMatch as the origin PR suggested. Contains is good enough. Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
expectations Now the generic version and the reflect-based version are functionally equivalent and aligned with the documentation - no quirks no more. test: refactored tests Tests for functions of the order domain fully refactored to eliminate code duplicate and remain rather maintainable. Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
all equality assertions should fail the same when input is a function. fix: type safety added CanInterface guard to EqualExportedValues (even if it seems currently impossible to make it panic with current reflect) test: refactored equal tests Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #36 +/- ##
==========================================
+ Coverage 87.99% 88.63% +0.63%
==========================================
Files 71 73 +2
Lines 9324 9979 +655
==========================================
+ Hits 8205 8845 +640
- Misses 945 958 +13
- Partials 174 176 +2 ☔ View full report in Codecov by Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change type
Please select: 🆕 New feature or enhancement|🔧 Bug fix'|📃 Documentation update
Short description
Fixes
Full description
Checklist