diff --git a/build.sbt b/build.sbt index fe8ec4b..4a1a04b 100644 --- a/build.sbt +++ b/build.sbt @@ -25,13 +25,13 @@ libraryDependencies ++= Seq( "com.typesafe.slick" %% "slick" % "3.3.2", "org.typelevel" %% "cats-core" % catsVersion, "org.typelevel" %% "cats-laws" % catsVersion % Test, + "org.typelevel" %% "discipline-scalatest" % "1.0.0-RC1" % Test, "org.scalatest" %% "scalatest" % "3.0.8" % Test, "org.scalacheck" %% "scalacheck" % "1.14.2" % Test ) enablePlugins(MdocPlugin) scalacOptions in mdoc --= Seq("-Ywarn-unused-import", "-Xlint") -mdocOut := baseDirectory.value licenses += ("BSD New", url("https://opensource.org/licenses/BSD-3-Clause")) homepage := Some(url("https://github.com/rmsone/slick-cats")) diff --git a/src/main/tut/README.md b/docs/README.md similarity index 100% rename from src/main/tut/README.md rename to docs/README.md diff --git a/src/test/scala/com/rms/miu/slickcats/DBIOInstancesTest.scala b/src/test/scala/com/rms/miu/slickcats/DBIOInstancesTest.scala index 3e8666f..0358ef6 100644 --- a/src/test/scala/com/rms/miu/slickcats/DBIOInstancesTest.scala +++ b/src/test/scala/com/rms/miu/slickcats/DBIOInstancesTest.scala @@ -16,7 +16,8 @@ import cats.laws.discipline._ import cats.{Comonad, Eq} import org.scalacheck.Arbitrary.arbitrary import org.scalacheck.{Arbitrary, Cogen, Gen} -import org.scalatest.{FunSuite, Matchers} +import org.scalatest.funsuite.AnyFunSuite +import org.scalatest.matchers.should.Matchers import org.typelevel.discipline.scalatest.Discipline import slick.dbio.DBIO @@ -25,7 +26,7 @@ import scala.concurrent.ExecutionContext.Implicits.global import scala.concurrent.duration._ import scala.util.{Failure, Success} -class DBIOInstancesTest extends FunSuite with Matchers with Discipline with AllInstances with DBIOInstances { +class DBIOInstancesTest extends AnyFunSuite with Matchers with Discipline with AllInstances with DBIOInstances { private val timeout = 3.seconds private val db = slick.memory.MemoryProfile.backend.Database(global)