kotest-assertions-core / io.kotest.matchers.collections / containsInOrder

containsInOrder

fun <T> containsInOrder(vararg ts: T): Matcher<Collection<T>?> fun <T> containsInOrder(subsequence: List<T>): Matcher<Collection<T>?>

Assert that a collection contains a given subsequence, possibly with values in between.