diff options
Diffstat (limited to 'kotlinx-coroutines-core/jvm/test/RunInterruptibleTest.kt')
-rw-r--r-- | kotlinx-coroutines-core/jvm/test/RunInterruptibleTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kotlinx-coroutines-core/jvm/test/RunInterruptibleTest.kt b/kotlinx-coroutines-core/jvm/test/RunInterruptibleTest.kt index e755b17d..49c93c7f 100644 --- a/kotlinx-coroutines-core/jvm/test/RunInterruptibleTest.kt +++ b/kotlinx-coroutines-core/jvm/test/RunInterruptibleTest.kt @@ -41,7 +41,7 @@ class RunInterruptibleTest : TestBase() { val job = launch { runInterruptible(Dispatchers.IO) { expect(2) - latch.offer(Unit) + latch.trySend(Unit) try { Thread.sleep(10_000L) expectUnreached() |