-
Notifications
You must be signed in to change notification settings - Fork 73
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
isValidAgainst doesn't override custom message #225
Comments
I must admit that I'm nowhere close to being an AssertJ expert, so if you know how to fix it, I'd be grateful for a PR. If I need to figure things out, it is gong to take a bit longer, I'm afraid. |
OK, it took quite a bit more effort than I thought it would take, but I think it all assertions now honor overridden error messages. |
Sorry, @krystiankaluzny I didn't see you started working on it as well. Maybe we can merge your changes with mine in any way? |
Hi @bodewig I didn't notice that here are notifications about my commits :) |
@krystiankaluzny I only saw the notifications here when I came back to comment on the issue :-) I agree it should be possible to merge your approach of extracting the configuration and inheriting the info property with my changes - I liked your approach better than mine. Actually I've not been happy with duplicating the code that copied the info properties to three places myself. For the assetj3 module I toyed with the idea of getting rid of our own |
@krystiankaluzny I think I've merged our two branches to main over here by now |
XMLUnit for Java 2.8.3 has just been released. |
isValidAgainst method in assertj3.XmlAssert module doesn't override custom error message:
expected:
fact:
The text was updated successfully, but these errors were encountered: