Contains an API for types introduced with Kotlin 1.3
fun <TExpected : Throwable> Expect<out Result<*>>.
Expects that the subject of infix fun <TExpected : Throwable> Expect<out Result<*>>.
Expects that the subject of |
|
infix fun <E, T : Result<E>> Expect<T>.
Expects that the subject of infix fun <E, T : Result<E>> Expect<T>.toBe(aSuccess: aSuccess): Expect<E>
Expects that the subject of infix fun <E, T : Result<E>> Expect<T>.toBe(success: SuccessWithCreator<E>): Expect<T>
Expects that the subject of |
|
fun <TExpected : Throwable> Expect<out Result<*>>.toBeAFailure(): Expect<TExpected>
Expects that the subject of infix fun <TExpected : Throwable> Expect<out Result<*>>.toBeAFailure(assertionCreator: Expect<TExpected>.() -> Unit): Expect<TExpected>
Expects that the subject of |