diff --git a/kotest-assertions/kotest-assertions-core/src/commonMain/kotlin/io/kotest/matchers/collections/containExactly.kt b/kotest-assertions/kotest-assertions-core/src/commonMain/kotlin/io/kotest/matchers/collections/containExactly.kt index d22859fe74a..af2bcac2274 100644 --- a/kotest-assertions/kotest-assertions-core/src/commonMain/kotlin/io/kotest/matchers/collections/containExactly.kt +++ b/kotest-assertions/kotest-assertions-core/src/commonMain/kotlin/io/kotest/matchers/collections/containExactly.kt @@ -13,14 +13,6 @@ import io.kotest.matchers.should import io.kotest.matchers.shouldNot import kotlin.jvm.JvmName -/** - * Verifies that this collection contains the sub collections provided in the exact given order. - * - * So, for example, listOf(1,2,3) contains exactly the sub collections: - * - * [], [1], [2], [3], [1,2], [2,3] and [1,2,3]. - * - */ @JvmName("shouldContainExactly_iterable") infix fun Iterable?.shouldContainExactly(expected: Iterable) = this?.toList() should containExactly(expected.toList())