Skip to content
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

Expect an Exception instance to be thrown compared by equals #78

Merged
merged 1 commit into from
Nov 24, 2017

Conversation

nhellwig
Copy link
Contributor

This change enables to expect an exception to be thrown by a block
compared by the .equals method. This provides a more readable
and maintainable way when you deal with exceptions that contain lots of
fields. So you can use this instead of checking every single field.

This change enables to expect exception to be thrown by a block
compared by the .equals method. This sometime provides a more readable
and maintainable way when you deal with exceptions that contain lots of
fields. So you can use this instead of checking every single field.
@MarkusAmshove
Copy link
Owner

I like that, thanks for your contribution :-)

@MarkusAmshove MarkusAmshove merged commit 09ea147 into MarkusAmshove:master Nov 24, 2017
@MarkusAmshove
Copy link
Owner

I've just released v 1.31 with this change in 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.

2 participants