Skip to content

Commit

Permalink
Update to cats-effect 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbr committed Mar 29, 2021
1 parent cd50695 commit b50a7de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
val catsVersion = "2.3.0"
val catsEffectVersion = "3.0.0-RC2"
val catsEffectVersion = "3.0.0"
val utilVersion = "20.12.0"
val finagleVersion = "20.12.0"

Expand Down
4 changes: 2 additions & 2 deletions effect/src/test/scala/io/catbird/util/effect/Runners.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package io.catbird.util.effect
import cats.Eq
import cats.effect.{ IO, Outcome, unsafe }
import cats.effect.testkit.TestContext
import cats.effect.unsafe.IORuntimeConfig
import io.catbird.util.{ EqInstances, Rerunnable }
import org.scalacheck.Prop

import scala.annotation.implicitNotFound
import scala.concurrent.duration.FiniteDuration
import scala.concurrent.duration._

import scala.language.implicitConversions

/**
Expand All @@ -35,7 +35,7 @@ trait Runners { self: EqInstances =>
ioa.unsafeRunAsync {
case Left(t) => results = Outcome.Errored(t)
case Right(a) => results = Outcome.Succeeded(Some(a))
}(unsafe.IORuntime(ticker.ctx, ticker.ctx, scheduler, () => ()))
}(unsafe.IORuntime(ticker.ctx, ticker.ctx, scheduler, () => (), IORuntimeConfig()))

ticker.ctx.tickAll(1.days)

Expand Down

0 comments on commit b50a7de

Please sign in to comment.