diff --git a/build.sbt b/build.sbt index 8985789..94e7dd8 100644 --- a/build.sbt +++ b/build.sbt @@ -10,7 +10,7 @@ val circeV = "0.12.3" val betterMonadicForV = "0.3.1" val kindProjectorV = "0.10.3" val scalaTestV = "3.1.0" -val scalaCheckV = "1.14.2" +val scalatestPlusScalaCheckV = "3.1.0.0" val scalaCheckShapelessV = "1.2.3" val catsScalaCheckV = "0.1.1" val monocleV = "2.0.0" @@ -60,7 +60,7 @@ libraryDependencies ++= Seq( "com.github.julien-truffaut" %% "monocle-macro" % monocleV, "org.scalatest" %% "scalatest" % scalaTestV % "test", - "org.scalacheck" %% "scalacheck" % scalaCheckV % "test", + "org.scalatestplus" %% "scalacheck-1-14" % scalatestPlusScalaCheckV % "test", "com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % scalaCheckShapelessV % "test" ) diff --git a/src/test/scala/joguin/testutil/PropertyBasedSpec.scala b/src/test/scala/joguin/testutil/PropertyBasedSpec.scala index e201e5b..ac5a85d 100644 --- a/src/test/scala/joguin/testutil/PropertyBasedSpec.scala +++ b/src/test/scala/joguin/testutil/PropertyBasedSpec.scala @@ -1,7 +1,7 @@ package joguin.testutil -import org.scalatest.Matchers -import org.scalatest.PropSpec -import org.scalatestplus.scalacheck.ScalaCheckPropertyChecks +import org.scalatest.matchers.should.Matchers +import org.scalatest.propspec.AnyPropSpec +import org.scalatestplus.scalacheck.ScalaCheckDrivenPropertyChecks -abstract class PropertyBasedSpec extends PropSpec with ScalaCheckPropertyChecks with Matchers +abstract class PropertyBasedSpec extends AnyPropSpec with ScalaCheckDrivenPropertyChecks with Matchers