diff --git a/src/test/java/snippets/SnippetsTests.java b/src/test/java/snippets/SnippetsTests.java index c215ad7..a5a4f37 100644 --- a/src/test/java/snippets/SnippetsTests.java +++ b/src/test/java/snippets/SnippetsTests.java @@ -409,7 +409,7 @@ public void union_test() throws Exception { new Integer[]{1, 2, 4} ); - assertThat(union).isEqualTo(new Integer[]{1, 2, 3, 4}); + assertThat(union).containsExactlyInAnyOrder(new Integer[]{1, 2, 3, 4}); } @Test