assertk / returnedValue

returnedValue

fun <T> Assert<Result<T>>.returnedValue(f: Assert<T>.() -> Unit): Unit
Deprecated: Use isSuccess().all(f) instead

Platform and version requirements: Common

Runs the given lambda if the block returns a value, otherwise fails.