Skip to content

Commit

Permalink
fix: exclude border line cases
Browse files Browse the repository at this point in the history
  • Loading branch information
tassiluca committed Feb 22, 2024
1 parent 98e2485 commit c378f57
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ class PipelineTransformationsTest extends AnyFunSpec with Matchers {
infiniteProducer(every = 3500 milliseconds, channel = c)
val buffered = c bufferWithin (2 seconds)
for i <- 0 to 3 do buffered.read() shouldBe Right(List(i, i))
buffered.read() should (equal(Right(List(4, 4))) or equal(Right(List(4)))) // border line
buffered.read() shouldBe Right(List(5))
}
}

Expand Down

0 comments on commit c378f57

Please sign in to comment.