Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
e5l committed Dec 5, 2022
1 parent 6e24d41 commit 1ca5c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ktor-io/jvm/test/io/ktor/utils/io/ByteBufferChannelTest.kt
Expand Up @@ -63,7 +63,7 @@ class ByteBufferChannelTest {

@Test
fun testReadUtf8LineEOF() = testSuspend {
(1..20000).forEach { num ->
repeat((1..20000).count()) {
val channel = ByteChannel(true)
val writer = launch(Dispatchers.IO) {
channel.writeFully("1\n".toByteArray())
Expand All @@ -79,7 +79,7 @@ class ByteBufferChannelTest {
lines
}

val readerResult = reader.await()
reader.await()
writer.join()
}
}
Expand Down

0 comments on commit 1ca5c2d

Please sign in to comment.