Open shaposhnyk-maxym opened 3 months ago
containsExactlyInAnyOrder
takes a vararg so the correct way would be:
assertThat(firstList).containsExactlyInAnyOrder(1, 2)
See https://github.com/willowtreeapps/assertk/issues/428#issuecomment-1297721662
I'm encountering an issue with iterable assertions in AssertK version com.willowtreeapps.assertk:assertk-jvm:0.28.0.
The problem arises when I try to assert that two lists contain the same elements. The assertion fails, and the error message suggests that one of the lists is being treated as a two-dimensional array. Here's a minimal example that reproduces the issue: