-
Notifications
You must be signed in to change notification settings - Fork 377
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
isCloseTo() shows wrong delta in mismatch description #8
Labels
Comments
ghost
assigned sf105
Aug 28, 2012
turns out the numbers are correct but misleading (difference from acceptable delta). Fixed the mismatch report |
martiner
pushed a commit
to martiner/hamcrest-text-patterns
that referenced
this issue
Dec 22, 2017
Fixed mismatch reporting on isCloseTo()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, the description for
assertThat(2.2, closeTo(3.3, 0.5)
ends in "<2.2> differed by <0.6>", but should end in "<2.2> differed by <1.1>". That is, unless I'm misinterpreting the intended meaning of the message.The text was updated successfully, but these errors were encountered: