succeed

object succeed : Matcher<KmmResult<*>> (source)

KmmResult matcher. Use as follows: okResult should succeed, errResult shouldNot succeed

Functions

Link copied to clipboard
open infix fun <U> contramap(f: (U) -> KmmResult<*>): Matcher<U>
Link copied to clipboard
open fun invert(): Matcher<KmmResult<*>>
Link copied to clipboard
open fun <T> Matcher<T>.invertIf(invert: Boolean): Matcher<T>
Link copied to clipboard
open fun <T> Matcher<T>.invertIf(invert: Boolean): Matcher<T>
Link copied to clipboard
open override fun test(value: KmmResult<*>): MatcherResult