File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
kotlinx-coroutines-core/jvm/test/guide Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -152,10 +152,12 @@ suspend fun doWorld() = coroutineScope { // this: CoroutineScope
152152
153153This code also prints:
154154
155- <!-- - TEST
155+ ``` text
156156Hello
157157World!
158- -->
158+ ```
159+
160+ <!-- - TEST -->
159161
160162## Scope builder and concurrency
161163
@@ -166,7 +168,7 @@ Let's launch two concurrent coroutines inside a `doWorld` suspending function:
166168import kotlinx.coroutines.*
167169
168170// sampleStart
169- // Sequentially executes doWorld followed by "Hello "
171+ // Sequentially executes doWorld followed by "Done "
170172fun main () = runBlocking {
171173 doWorld()
172174 println (" Done" )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ package kotlinx.coroutines.guide.exampleBasic04
77
88import kotlinx.coroutines.*
99
10- // Sequentially executes doWorld followed by "Hello "
10+ // Sequentially executes doWorld followed by "Done "
1111fun main () = runBlocking {
1212 doWorld()
1313 println (" Done" )
You can’t perform that action at this time.
0 commit comments