We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f82958d commit 944a628Copy full SHA for 944a628
hamcrest-core/src/main/java/org/hamcrest/core/AllOf.java
@@ -22,8 +22,8 @@ public AllOf(Iterable<Matcher<? super T>> matchers) {
22
public boolean matches(Object o, Description mismatch) {
23
for (Matcher<? super T> matcher : matchers) {
24
if (!matcher.matches(o)) {
25
- matcher.describeMismatch(o, mismatch);
26
- return false;
+ matcher.describeMismatch(o, mismatch);
+ return false;
27
}
28
29
return true;
0 commit comments