Skip to content

Commit

Permalink
Further relaxed constraint in AwakeEverySpec
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilquist committed Aug 23, 2017
1 parent 6306212 commit a78e2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/shared/src/test/scala/fs2/AwakeEverySpec.scala
Expand Up @@ -11,7 +11,7 @@ class AwakeEverySpec extends AsyncFs2Spec {
"awakeEvery" in {
runLogF(mkScheduler.flatMap(_.awakeEvery[IO](500.millis)).map(_.toMillis).take(5)).map { r =>
r.toList.sliding(2).map { s => (s.head, s.tail.head) }.map { case (prev, next) => next - prev }.foreach { delta =>
delta shouldBe 500L +- 100
delta shouldBe 500L +- 150
}
Succeeded
}
Expand Down

0 comments on commit a78e2f4

Please sign in to comment.