Skip to content

Commit e054f7e

Browse files
authored
remove @ExperimentalCoroutinesApi from testCoroutineScheduler
`TestDispatcher` used to be experimental, but it is not any more Kotlin/kotlinx.coroutines#3622
1 parent f53e50f commit e054f7e

File tree

1 file changed

+0
-2
lines changed
  • kotest-framework/kotest-framework-api/src/commonMain/kotlin/io/kotest/core/test

1 file changed

+0
-2
lines changed

kotest-framework/kotest-framework-api/src/commonMain/kotlin/io/kotest/core/test/delayController.kt

-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ import kotlinx.coroutines.test.TestDispatcher
77
import kotlin.coroutines.CoroutineContext
88

99
@ExperimentalStdlibApi
10-
@ExperimentalCoroutinesApi
1110
val TestScope.testCoroutineScheduler: TestCoroutineScheduler
1211
get() = coroutineContext.testCoroutineScheduler
1312

1413
@ExperimentalStdlibApi
15-
@ExperimentalCoroutinesApi
1614
val CoroutineContext.testCoroutineScheduler: TestCoroutineScheduler
1715
get() = when (val dispatcher = this[CoroutineDispatcher]) {
1816
is TestDispatcher -> dispatcher.scheduler

0 commit comments

Comments
 (0)