christophsturm
11/05/2020, 10:43 AMfun <T> MockKMatcherScope.seqEq(seq: Sequence<T>) = match<Sequence<T>> {
it.toList() == seq.toList()
}
this works but if the parameters are wrong i get an error thats not very informative: [2]: argument: kotlin.sequences.FlatteningSequence@6ad9638e, matcher: matcher<Sequence>(), result: -
is there a way to also override how the error message is constructed, and show a list representation?