You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Test
fun foo() {
assertThat(listOf("1", "2", "3")).containsExactly("2", "3", "1")
}
Both lists are of same size, contain the same elements in the same order except on the first element of the actual list which is expected to be at the end of the list:
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at assertk.assertions.support.ListDiffer.backtrack(ListDiffer.kt:87)
at assertk.assertions.support.ListDiffer.diff(ListDiffer.kt:10)
at assertk.assertions.ListKt.listDifferExpected(list.kt:48)
at assertk.assertions.ListKt.containsExactly(list.kt:44)
... 24 more
tests with assertk 0.13
The text was updated successfully, but these errors were encountered:
This test case reproduces the error:
Both lists are of same size, contain the same elements in the same order except on the first element of the
actual
list which is expected to be at the end of the list:tests with assertk 0.13
The text was updated successfully, but these errors were encountered: