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 e641681
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ktor-io/jvm/test/io/ktor/utils/io/ByteBufferChannelTest.kt
Expand Up @@ -16,7 +16,7 @@ import kotlin.test.Test
class ByteBufferChannelTest {

@get:Rule
public val timeoutRule: CoroutinesTimeout by lazy { CoroutinesTimeout.seconds(60) }
ublic val timeoutRule: CoroutinesTimeout by lazy { CoroutinesTimeout.seconds(60) }

@Test
fun testCompleteExceptionallyJob() {
Expand Down 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 e641681

Please sign in to comment.