We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa63ae4 commit ea04f68Copy full SHA for ea04f68
src/test/kotlin/com/compiler/server/CoroutinesRunnerTest.kt
@@ -180,20 +180,19 @@ class CoroutinesRunnerTest : BaseExecutorTest() {
180
}
181
182
@Test
183
- @Disabled("@ToDo: incorrect result - 'A\n<outStream>B\n</outStream>'")
184
fun `IO coroutine out order`() {
185
run(
186
//language=kotlin
187
code = """
188
import kotlinx.coroutines.*
189
190
- fun main() {
191
- CoroutineScope(Dispatchers.IO).launch {
192
- delay(1)
+ fun main() = runBlocking {
+ CoroutineScope(Dispatchers.IO).launch {
+ delay(1000)
193
println("A")
194
195
println("B")
196
-
+ delay(2000)
197
198
""".trimIndent(),
199
contains = "<outStream>B\nA\n</outStream>"
0 commit comments