Skip to content

Conversation

@scottb
Copy link

@scottb scottb commented Aug 1, 2011

assertThat( 5, closeTo( 4, 0.3)) should say "5 differed by 1", instead, it says "5 differed by 0.7". It's returning the displaying the difference between the actual delta and the expected delta, rather than the difference between the actual number and the expected number.

Patch fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant