File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ktor-io/jvm/test/io/ktor/utils/io Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ package io.ktor.utils.io
6
6
7
7
import io.ktor.utils.io.core.*
8
8
import kotlinx.coroutines.channels.*
9
+ import io.ktor.utils.io.core.internal.*
9
10
10
11
class JvmReadPacketWithExceptionByteChannelCloseTest : ByteChannelCloseTest (
11
12
ClosedReceiveChannelException : :class,
@@ -19,7 +20,7 @@ class JvmSequentialReadPacketWithExceptionByteChannelCloseTest : ByteChannelClos
19
20
{ readPacket(Int .MAX_VALUE ) }
20
21
) {
21
22
override fun ByteChannel (autoFlush : Boolean ): ByteChannel {
22
- return ByteChannelSequentialJVM (IoBuffer .Empty , autoFlush)
23
+ return ByteChannelSequentialJVM (ChunkBuffer .Empty , autoFlush)
23
24
}
24
25
}
25
26
@@ -35,6 +36,6 @@ class JvmSequentialReadFullyWithExceptionByteChannelCloseTest : ByteChannelClose
35
36
{ readFully(ByteArray (10)) }
36
37
) {
37
38
override fun ByteChannel (autoFlush : Boolean ): ByteChannel {
38
- return ByteChannelSequentialJVM (IoBuffer .Empty , autoFlush)
39
+ return ByteChannelSequentialJVM (ChunkBuffer .Empty , autoFlush)
39
40
}
40
41
}
You can’t perform that action at this time.
0 commit comments