Skip to content

Commit b1112d0

Browse files
committed
remove withIndex() test
1 parent 5901f43 commit b1112d0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/test/kotlin/rx/lang/kotlin/ExtensionTests.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,6 @@ class ExtensionTests : KotlinTests() {
161161
verify(a, times(0)).received(3)
162162
}
163163

164-
@Test fun testTakeWhileWithIndex() {
165-
listOf(1, 2, 3).toObservable().takeWhile { x -> x < 3 }.zipWith((0..Integer.MAX_VALUE).toObservable()) { x, i -> x }.subscribe(received())
166-
verify(a, times(1)).received(1)
167-
verify(a, times(1)).received(2)
168-
verify(a, times(0)).received(3)
169-
}
170-
171164
@Test fun testToSortedList() {
172165
TestFactory().numbers.toSortedList().subscribe(received())
173166
verify(a, times(1)).received(listOf(1, 2, 3, 4, 5))

0 commit comments

Comments
 (0)