Skip to content

Commit 44efb27

Browse files
committed
Update range comments
1 parent 0f19120 commit 44efb27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

language-adaptors/rxjava-scala/src/test/scala/rx/lang/scala/CompletenessTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ class CompletenessTest extends JUnitSuite {
150150
"merge(Observable[_ <: Observable[_ <: T]])" -> "flatten(<:<[Observable[T], Observable[Observable[U]]])",
151151
"mergeDelayError(Observable[_ <: T], Observable[_ <: T])" -> "mergeDelayError(Observable[U])",
152152
"mergeDelayError(Observable[_ <: Observable[_ <: T]])" -> "flattenDelayError(<:<[Observable[T], Observable[Observable[U]]])",
153-
"range(Int, Int)" -> "[use `(... until ...).toObservable`]",
154-
"range(Int, Int, Scheduler)" -> "[use `from((... until ...), scheduler)`]",
153+
"range(Int, Int)" -> "[use `(start until (start + count)).toObservable` instead of `range(start, count)`]",
154+
"range(Int, Int, Scheduler)" -> "[use `(start until (start + count)).toObservable.subscribeOn(scheduler)` instead of `range(start, count, scheduler)`]`]",
155155
"sum(Observable[Integer])" -> "sum(Numeric[U])",
156156
"sumDoubles(Observable[Double])" -> "sum(Numeric[U])",
157157
"sumFloats(Observable[Float])" -> "sum(Numeric[U])",

0 commit comments

Comments
 (0)