Skip to content

Commit 38f562c

Browse files
author
smgfreeman
committed
suppress compiler warning
1 parent 46a6d57 commit 38f562c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hamcrest-unit-test/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrderTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public void testDoesNotMatchIfOneOfMultipleElementsMismatches() {
3838
assertMismatchDescription("Not matched: <4>", containsInAnyOrder(1, 2, 3), asList(1, 2, 4));
3939
}
4040

41+
@SuppressWarnings("unchecked")
4142
public void testDoesNotMatchIfThereAreMoreElementsThanMatchers() {
4243
Matcher<Iterable<WithValue>> helpTheCompilerOut = containsInAnyOrder(value(1), value(3));
4344
assertMismatchDescription("Not matched: <WithValue 2>", helpTheCompilerOut, asList(make(1), make(2), make(3)));

0 commit comments

Comments
 (0)