Package-level declarations

Types

Link copied to clipboard
interface SuspendLambdaExpectation : Expect<suspend () -> Unit>

Functions

Link copied to clipboard
suspend fun expectFailure(lambda: suspend () -> Unit): Throwable
Link copied to clipboard
inline suspend fun <T : Throwable> expectFailureWith(noinline lambda: () -> Unit): T
Link copied to clipboard
fun expectLambda(lambda: suspend () -> Unit): SuspendLambdaExpectation
Link copied to clipboard
inline suspend fun <T : Throwable> SuspendLambdaExpectation.toFailWith(): T