Skip to content

Commit

Permalink
Merge pull request #347 from gvolpe/feature/weaver-discipline
Browse files Browse the repository at this point in the history
Remove DisciplineSuite in favor of weaver-discipline
  • Loading branch information
gvolpe authored Apr 7, 2021
2 parents 02bef8a + 6545555 commit d43045d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 30 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ lazy val tests = (project in file("modules/tests"))
CompilerPlugin.betterMonadicFor,
CompilerPlugin.semanticDB,
Libraries.catsLaws,
Libraries.discipline,
Libraries.log4catsNoOp,
Libraries.weaverCats,
Libraries.weaverDiscipline,
Libraries.weaverScalaCheck
)
)
Expand Down
25 changes: 0 additions & 25 deletions modules/tests/src/main/scala/suite/DisciplineSuite.scala

This file was deleted.

5 changes: 3 additions & 2 deletions modules/tests/src/test/scala/shop/domain/OrphanSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package shop.domain
import cats.kernel.laws.discipline.MonoidTests
import org.scalacheck.{ Arbitrary, Gen }
import squants.market.{ Money, USD }
import suite.DisciplineSuite
import weaver.FunSuite
import weaver.discipline.Discipline

object OrphanSuite extends DisciplineSuite {
object OrphanSuite extends FunSuite with Discipline {

implicit val arbMoney: Arbitrary[Money] =
Arbitrary {
Expand Down
3 changes: 1 addition & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ object Dependencies {
val circe = "0.14.0-M5"
val ciris = "2.0.0-RC2"
val derevo = "0.12.2"
val discipline = "1.1.4"
val javaxCrypto = "1.0.1"
val fs2 = "3.0.1"
val http4s = "1.0.0-M20"
Expand Down Expand Up @@ -81,9 +80,9 @@ object Dependencies {

// Test
val catsLaws = "org.typelevel" %% "cats-laws" % V.cats
val discipline = "org.typelevel" %% "discipline-core" % V.discipline
val log4catsNoOp = "org.typelevel" %% "log4cats-noop" % V.log4cats
val weaverCats = "com.disneystreaming" %% "weaver-cats" % V.weaver
val weaverDiscipline = "com.disneystreaming" %% "weaver-discipline" % V.weaver
val weaverScalaCheck = "com.disneystreaming" %% "weaver-scalacheck" % V.weaver

// Scalafix rules
Expand Down

0 comments on commit d43045d

Please sign in to comment.