Minor. Fix tests after CoroutineContext introduction
Original commit: c7f76d7ec8
This commit is contained in:
@@ -4,6 +4,7 @@ import kotlin.coroutines.intrinsics.*
|
|||||||
|
|
||||||
fun async(x: suspend Controller.() -> Unit) {
|
fun async(x: suspend Controller.() -> Unit) {
|
||||||
x.startCoroutine(Controller(), object : Continuation<Unit> {
|
x.startCoroutine(Controller(), object : Continuation<Unit> {
|
||||||
|
override val context: CoroutineContext = null!!
|
||||||
override fun resume(value: Unit) {}
|
override fun resume(value: Unit) {}
|
||||||
|
|
||||||
override fun resumeWithException(exception: Throwable) {}
|
override fun resumeWithException(exception: Throwable) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user