diff options
Diffstat (limited to 'kotlinx-coroutines-core/jvm/test/guide/example-context-08.kt')
-rw-r--r-- | kotlinx-coroutines-core/jvm/test/guide/example-context-08.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kotlinx-coroutines-core/jvm/test/guide/example-context-08.kt b/kotlinx-coroutines-core/jvm/test/guide/example-context-08.kt index 0ab1a3ee..bb871662 100644 --- a/kotlinx-coroutines-core/jvm/test/guide/example-context-08.kt +++ b/kotlinx-coroutines-core/jvm/test/guide/example-context-08.kt @@ -11,12 +11,12 @@ fun main() = runBlocking(CoroutineName("main")) { val v1 = async(CoroutineName("v1coroutine")) { delay(500) log("Computing v1") - 252 + 6 } val v2 = async(CoroutineName("v2coroutine")) { delay(1000) log("Computing v2") - 6 + 7 } - log("The answer for v1 / v2 = ${v1.await() / v2.await()}") + log("The answer for v1 * v2 = ${v1.await() * v2.await()}") } |