Skip to content

Commit

Permalink
Removing cats-testkit-scalatest
Browse files Browse the repository at this point in the history
  • Loading branch information
luksow committed Sep 23, 2024
1 parent 8c673ce commit eddb5a2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 7 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ val isScala3 = Def.setting(CrossVersion.partialVersion(scalaVersion.value).exist

val catsVersion = "2.12.0"
val castsTestkitScalatestVersion = "2.1.5"
val scalatestVersion = "3.2.19"
val disciplineVersion = "2.3.0"

libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "cats-laws" % catsVersion % Test,
"org.typelevel" %% "cats-testkit" % catsVersion % Test,
"org.typelevel" %% "cats-testkit-scalatest" % castsTestkitScalatestVersion % Test
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "cats-laws" % catsVersion % Test,
"org.typelevel" %% "cats-testkit" % catsVersion % Test,
"org.scalatest" %% "scalatest" % scalatestVersion % Test,
"org.typelevel" %% "discipline-scalatest" % disciplineVersion % Test
)

libraryDependencies ++= (if (isScala3.value) Nil
Expand Down
6 changes: 4 additions & 2 deletions src/test/scala/pl/iterators/sealedmonad/SealedSuite.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package pl.iterators.sealedmonad

import cats.tests.CatsSuite
import org.scalatest.funsuite.AnyFunSuite
import org.scalatestplus.scalacheck.Checkers
import org.typelevel.discipline.scalatest.FunSuiteDiscipline

abstract class SealedSuite extends CatsSuite with SealedTestInstances
abstract class SealedSuite extends AnyFunSuite with FunSuiteDiscipline with Checkers with SealedTestInstances

0 comments on commit eddb5a2

Please sign in to comment.