Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
Update discipline-scalatest to 1.0.1 (#53)
Browse files Browse the repository at this point in the history
Update discipline-scalatest to 1.0.1

Fix a breaking change in discipline-scalatest

Introduced in discipline-scalatest 1.0.0-RC3 see
https://github.com/typelevel/discipline-scalatest/releases/tag/v1.0.0-RC3

Co-authored-by: Miklós Martin <miklos.martin@gmail.com>
  • Loading branch information
scala-steward and miklos-martin committed Mar 6, 2020
1 parent 7b41c65 commit 48cea39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ scalafmtOnCompile := true
libraryDependencies += "org.typelevel" %% "cats-core" % "2.1.1"
libraryDependencies += "org.typelevel" %% "cats-effect" % "2.1.2"
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.14.3" % Test

libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.1" % Test
libraryDependencies += "org.typelevel" %% "cats-laws" % "2.1.1" % Test
libraryDependencies += "org.typelevel" %% "discipline-scalatest" % "1.0.0-RC1" % Test
libraryDependencies += "org.typelevel" %% "discipline-scalatest" % "1.0.1" % Test
libraryDependencies += "org.typelevel" %% "cats-effect-laws" % "2.1.2" % Test

addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.10.3")
Expand Down
5 changes: 3 additions & 2 deletions src/test/scala/com/emarsys/scheduler/ScheduleProps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ import cats.kernel.laws.discipline.EqTests
import cats.laws.discipline.{BifunctorTests, FunctorTests, ProfunctorTests}
import org.scalacheck.{Arbitrary, Cogen}
import org.scalatest.funsuite.AnyFunSuite
import org.typelevel.discipline.scalatest.Discipline
import org.scalatestplus.scalacheck.Checkers
import org.typelevel.discipline.scalatest.FunSuiteDiscipline
import Arbitrary.arbitrary
import Schedule.{Init, Decision}

import scala.concurrent.duration.FiniteDuration

class ScheduleProps extends AnyFunSuite with Discipline with ScheduleGenerators with ArrowEq {
class ScheduleProps extends AnyFunSuite with FunSuiteDiscipline with Checkers with ScheduleGenerators with ArrowEq {
import cats.instances.int._
import cats.instances.string._
import cats.instances.unit._
Expand Down

0 comments on commit 48cea39

Please sign in to comment.