Skip to content

Commit

Permalink
Updated Scala versions
Browse files Browse the repository at this point in the history
  • Loading branch information
djspiewak committed Jul 21, 2020
1 parent 25233f1 commit e4ecc70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

0 comments on commit e4ecc70

Please sign in to comment.