Skip to content

Commit dcd8c65

Browse files
author
smgfreeman
committed
corrected mismatch description
1 parent 5bd1b22 commit dcd8c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hamcrest-library/src/main/java/org/hamcrest/text/StringContainsInOrder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public boolean matchesSafely(String s) {
2828

2929
@Override
3030
public void describeMismatchSafely(String item, Description mismatchDescription) {
31-
mismatchDescription.appendText("string was \"").appendText(item).appendText("\"");
31+
mismatchDescription.appendText("was \"").appendText(item).appendText("\"");
3232
}
3333

3434
public void describeTo(Description description) {

0 commit comments

Comments
 (0)