Skip to content

Commit 819159c

Browse files
committed
Merge pull request hamcrest#14 from andrewgaul/either-and
Correct Javadoc
2 parents 2db8266 + b365159 commit 819159c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎hamcrest-core/src/main/java/org/hamcrest/core/CombinableMatcher.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public CombinableMatcher<X> and(Matcher<? super X> other) {
6565
* Creates a matcher that matches when either of the specified matchers match the examined object.
6666
* <p/>
6767
* For example:
68-
* <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre>
68+
* <pre>assertThat("fan", either(containsString("a")).or(containsString("b")))</pre>
6969
*/
7070
@Factory
7171
public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) {

0 commit comments

Comments
 (0)