Skip to content

Commit 7cb5cc2

Browse files
committed
[tests] ARRAY_10 should have capacity of 10
1 parent 222f3f2 commit 7cb5cc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/kotlinx-coroutines-core-common/test/channels/TestChannelKind.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
package kotlinx.coroutines.experimental.channels
66

7-
import kotlinx.coroutines.experimental.selects.SelectClause1
7+
import kotlinx.coroutines.experimental.selects.*
88

99
enum class TestChannelKind {
1010
RENDEZVOUS {
@@ -16,8 +16,8 @@ enum class TestChannelKind {
1616
override fun toString(): String = "ArrayChannel(1)"
1717
},
1818
ARRAY_10 {
19-
override fun create(): Channel<Int> = ArrayChannel(8)
20-
override fun toString(): String = "ArrayChannel(8)"
19+
override fun create(): Channel<Int> = ArrayChannel(10)
20+
override fun toString(): String = "ArrayChannel(10)"
2121
},
2222
LINKED_LIST {
2323
override fun create(): Channel<Int> = LinkedListChannel()

0 commit comments

Comments
 (0)