1 /* 2 * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5 package kotlinx.coroutines.test 6 7 import kotlin.test.* 8 testResultMapnull9actual fun testResultMap(block: (() -> Unit) -> Unit, test: () -> TestResult): TestResult = 10 test().then( 11 { 12 block { 13 } 14 }, { <lambda>null15 block { 16 throw it 17 } 18 }) 19 20 actual typealias NoJs = Ignore 21