-
Notifications
You must be signed in to change notification settings - Fork 30
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
Change the description of assertion errors so that IntelliJ shows the "show difference" option in the console output. #12
Comments
Hi, I haven't seen any activity on this issue, will this be considered later? Kind regards, Ewout. |
Would you mind creating a pull request for it? (or sharing your fork?) |
I think I need special permissions to create a pull request (idk). Here is my fork: |
You don't need special permissions, I took the liberty and did it for you. (see: #13) You can just go to your fork on github, and click create pull request. For a more complete guide you can check: https://help.github.com/articles/creating-a-pull-request/ Thanks for helping me out! |
PR merged |
This seems to break for very long strings (or very long lists).. but perhaps isn't this code's fault. Not sure as it might be the IDE's problem. |
Hello,
Love using hamkrest! but I have one gripe with it. IntelliJ doesn't show the "show difference" option when an assertion fails. This is quite handy when you're asserting the contents of data classes.
A quick google shows that IntelliJ offers this functionality simply by checking a regular expression. Would it be possible to change the description strings so that IntelliJ shows the "show difference" option when using hamkrest?
Kind regards,
Ewout.
The text was updated successfully, but these errors were encountered: