Skip to content

Commit

Permalink
Merge pull request #49 from danbills/tests_2_13
Browse files Browse the repository at this point in the history
update tests to 2.13 and fix mdoc
  • Loading branch information
23will authored Oct 6, 2019
2 parents a8f9a0d + 376149c commit c2a69e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions src/test/scala/com/rms/miu/slickcats/DBIOInstancesTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)

Expand Down

0 comments on commit c2a69e4

Please sign in to comment.