-
Notifications
You must be signed in to change notification settings - Fork 21
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 describeMismatchSafely in ScalarHasValue #14
Conversation
Job #14 is now in scope, role is |
@@ -40,6 +40,11 @@ | |||
* @author Yegor Bugayenko ([email protected]) | |||
* @version $Id$ | |||
* @since 0.11 | |||
* @todo #7:30min Tests for all matchers should be added and in particular |
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.
@victornoel tests for all matchers is being handled starting in #1
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.
@llorllale yes, I noticed that the other day, but then I thought about leaving this todo because it concerns mainly describeMismatchSafely
in the end.
I propose to reformulate it without the "tests for all matchers should be added", what do you think?
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.
@victornoel yes, please just leave out the part about "tests for all matchers should be added". The rest of the puzzle is fine
6017d48
to
7fe4f6f
Compare
Codecov Report
@@ Coverage Diff @@
## master #14 +/- ##
=========================================
+ Coverage 77.55% 81.55% +4%
- Complexity 27 29 +2
=========================================
Files 7 7
Lines 98 103 +5
Branches 1 1
=========================================
+ Hits 76 84 +8
+ Misses 22 19 -3
Continue to review full report at Codecov.
|
@llorllale I've rebased the branch on master since #15 was merged and I fixed the |
7fe4f6f
to
4ae45cd
Compare
4ae45cd
to
d3cd1e5
Compare
@llorllale everything is good now, thanks for waiting |
@rultor merge |
@llorllale OK, I'll try to merge now. You can check the progress of the merge here |
@llorllale Done! FYI, the full log is here (took me 5min) |
The job #14 is now out of scope |
#7
This add tests for
ScalarHasValue
and implements properlydescribeMismatchSafely
.Note that I had to ignore a checkstyle error so that the
ScalarHasValue
class does not expose internal methods to the outside, see yegor256/qulice#901 for a rationale.Also add a
@todo
for doing the same work on other matchers.