Package-level declarations

Types

Link copied to clipboard
object succeed : Matcher<KmmResult<*>>

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

Functions

Link copied to clipboard

Asserts that this KmmResult should succeed and returns the contained value

Link copied to clipboard
infix fun <T> KmmResult<T>.shouldSucceedWith(expected: T): T

Shorthand for getOrThrow() shouldBe expected