File tree 1 file changed +2
-4
lines changed
kotlinx-coroutines-core/jvm/test/exceptions
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
2
+ * Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
3
*/
4
4
5
5
package kotlinx.coroutines.exceptions
6
6
7
7
import kotlinx.coroutines.*
8
8
import kotlinx.coroutines.channels.*
9
9
import kotlinx.coroutines.intrinsics.*
10
- import kotlinx.coroutines.selects.*
11
- import org.junit.*
12
10
import org.junit.Test
13
- import org.junit.rules.*
14
11
import java.util.concurrent.*
15
12
import kotlin.concurrent.*
16
13
import kotlin.coroutines.*
@@ -265,5 +262,6 @@ class StackTraceRecoveryTest : TestBase() {
265
262
suspendCancellableCoroutine<Unit > { cont ->
266
263
channel.offer(Callback (cont))
267
264
}
265
+ yield () // nop to make sure it is not a tail call
268
266
}
269
267
}
You can’t perform that action at this time.
0 commit comments