Skip to content

Commit c8ef9ec

Browse files
committed
Update Knit-generated tests
1 parent 5039855 commit c8ef9ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kotlinx-coroutines-core/jvm/test/guide/example-select-01.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ import kotlinx.coroutines.channels.*
1010
import kotlinx.coroutines.selects.*
1111

1212
fun CoroutineScope.fizz() = produce<String> {
13-
while (true) { // sends "Fizz" every 300 ms
13+
while (true) { // sends "Fizz" every 500 ms
1414
delay(500)
1515
send("Fizz")
1616
}
1717
}
1818

1919
fun CoroutineScope.buzz() = produce<String> {
20-
while (true) { // sends "Buzz!" every 500 ms
20+
while (true) { // sends "Buzz!" every 1000 ms
2121
delay(1000)
2222
send("Buzz!")
2323
}

0 commit comments

Comments
 (0)