Closed Buesing-Sebastian closed 8 years ago
If u use the IsSameDay Matcher and you get a mismatch, you get the wrong mismatch message:
mismatchDesc.appendText("date is " + describer.describe(expected.unwrap()));
should be
mismatchDesc.appendText("date is " + describer.describe(actual.unwrap()));
https://github.com/eXparity/hamcrest-date/blob/master/src/main/java/org/exparity/hamcrest/date/core/IsSameDay.java
Hi, Thanks for reporting the bug. I'll get it fixed up and rolled into the next release. Thanks, Stewart
Hi Sebastian, Issue is resolved in version 2.0.1. Regards, Stewart
If u use the IsSameDay Matcher and you get a mismatch, you get the wrong mismatch message:
should be
https://github.com/eXparity/hamcrest-date/blob/master/src/main/java/org/exparity/hamcrest/date/core/IsSameDay.java