Skip to content

Commit d9d63b1

Browse files
author
smgfreeman
committed
one more fix for MatcherAssert
1 parent 670fc9f commit d9d63b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎hamcrest-unit-test/src/main/java/org/hamcrest/MatcherAssertTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void describeMismatch(Object item, Description mismatchDescription) {
7070
}
7171
};
7272

73-
String expectedMessage = "\nExpected: Something cool\n got: \"Value\"\nmismatch: Not cool";
73+
String expectedMessage = "\nExpected: Something cool\n but: Not cool";
7474

7575
try {
7676
assertThat("Value", matcherWithCustomMismatchDescription);

0 commit comments

Comments
 (0)