Skip to content

Commit 3c719b5

Browse files
committed
FlowOps: debounceBy operator
1 parent 6e9ce3d commit 3c719b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/scala/ox/flow/FlowOpsDebounceByTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ class FlowOpsDebounceByTest extends AnyFlatSpec with Matchers:
1212
val s = c.debounceBy(_ * 2)
1313
s.runToList() shouldBe List.empty
1414

15-
it should "not debounce if applied on a flow containing only distinct values" in:
15+
it should "not debounce if applied on a flow containing only distinct f(value)" in:
1616
val c = Flow.fromValues(1 to 10: _*)
1717
val s = c.debounceBy(_ * 2)
1818
s.runToList() shouldBe (1 to 10)
1919

20-
it should "debounce if applied on a flow containing repeating elements" in:
20+
it should "debounce if applied on a flow containing repeating f(value)" in:
2121
val c = Flow.fromValues(1, 1, 2, 3, 4, 4, 5)
2222
val s = c.debounceBy(_ * 2)
2323
s.runToList() shouldBe (1 to 5)

0 commit comments

Comments
 (0)