kotest-assertions-core / io.kotest.matchers.result / BeFailureOfType

BeFailureOfType

class BeFailureOfType<A : Throwable> : Matcher<Result<Any>>

Constructors

<init>

BeFailureOfType(clazz: KClass<A>)

Functions

test

fun test(value: Result<Any>): MatcherResult