Skip to content

Commit 9ff3264

Browse files
committed
SimpleSendReceiveTest is fixed to account for close conflation
1 parent bd15a33 commit 9ff3264

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/channels/SimpleSendReceiveTest.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ class SimpleSendReceiveTest(
6262
expected = x + 1
6363
}
6464
}
65-
if (kind.isConflated) {
66-
if (n > 0) assertTrue(expected > 0)
67-
} else {
65+
if (!kind.isConflated) {
6866
assertThat(expected, IsEqual(n))
6967
}
7068
}

0 commit comments

Comments
 (0)