From e4ecc7087224339fd4be8f6226aa4572ed2be2a9 Mon Sep 17 00:00:00 2001 From: Daniel Spiewak Date: Tue, 21 Jul 2020 15:20:45 -0600 Subject: [PATCH] Updated Scala versions --- .travis.yml | 4 ++-- .../cats/effect/testing/scalatest/EffectTestSupport.scala | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 213edb0..c9db2b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,8 @@ branches: - /^v\d+\.\d+\.\d+$/ # don't redundantly build tags scala: - - 2.12.10 - - 2.13.1 + - 2.12.12 + - 2.13.3 script: - sbt ++$TRAVIS_SCALA_VERSION ci diff --git a/scalatest/src/main/scala/cats/effect/testing/scalatest/EffectTestSupport.scala b/scalatest/src/main/scala/cats/effect/testing/scalatest/EffectTestSupport.scala index 01d9fb6..8690ea2 100644 --- a/scalatest/src/main/scala/cats/effect/testing/scalatest/EffectTestSupport.scala +++ b/scalatest/src/main/scala/cats/effect/testing/scalatest/EffectTestSupport.scala @@ -28,11 +28,11 @@ import org.scalatest.{Assertion, Succeeded} trait EffectTestSupport { implicit def syncIoToFutureAssertion(io: SyncIO[Assertion]): Future[Assertion] = - io.toIO.unsafeToFuture + io.toIO.unsafeToFuture() implicit def ioToFutureAssertion(io: IO[Assertion]): Future[Assertion] = - io.unsafeToFuture + io.unsafeToFuture() implicit def syncIoUnitToFutureAssertion(io: SyncIO[Unit]): Future[Assertion] = - io.toIO.as(Succeeded).unsafeToFuture + io.toIO.as(Succeeded).unsafeToFuture() implicit def ioUnitToFutureAssertion(io: IO[Unit]): Future[Assertion] = - io.as(Succeeded).unsafeToFuture + io.as(Succeeded).unsafeToFuture() }