From 8daa03a7fbe17a19d08ee15fc5e3848af5b794aa Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Sun, 3 Apr 2022 15:50:29 +0200 Subject: [PATCH] build against scalafix 0.10.x to unlock sbt-scalafix release --- scalafix/project/plugins.sbt | 1 + .../tests/src/test/scala/fix/Examplescalafixrule_Tests.scala | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scalafix/project/plugins.sbt b/scalafix/project/plugins.sbt index 541ca5e..4088e92 100644 --- a/scalafix/project/plugins.sbt +++ b/scalafix/project/plugins.sbt @@ -1,3 +1,4 @@ addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.0") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.16") +dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.10.0-RC1" addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.2") diff --git a/scalafix/tests/src/test/scala/fix/Examplescalafixrule_Tests.scala b/scalafix/tests/src/test/scala/fix/Examplescalafixrule_Tests.scala index c8030b9..2521123 100644 --- a/scalafix/tests/src/test/scala/fix/Examplescalafixrule_Tests.scala +++ b/scalafix/tests/src/test/scala/fix/Examplescalafixrule_Tests.scala @@ -5,6 +5,7 @@ import scalafix._ import scalafix.v0._ class Examplescalafixrule_Tests - extends scalafix.testkit.SemanticRuleSuite { + extends scalafix.testkit.AbstractSemanticRuleSuite + with org.scalatest.FunSuiteLike { runAllTests() }