diff --git a/project/Dependencies.scala b/project/Dependencies.scala index aa45e20d..be605d49 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -2,7 +2,7 @@ import sbt._ object Dependencies { val x = List(1) // scalafix:ok - def scalafixVersion: String = "0.11.1" + def scalafixVersion: String = "0.12.0" val all = List( "org.eclipse.jgit" % "org.eclipse.jgit" % "5.13.3.202401111512-r", diff --git a/src/test/scala/scalafix/internal/sbt/SbtCompletionsSuite.scala b/src/test/scala/scalafix/internal/sbt/SbtCompletionsSuite.scala index cda31de6..000f7e61 100644 --- a/src/test/scala/scalafix/internal/sbt/SbtCompletionsSuite.scala +++ b/src/test/scala/scalafix/internal/sbt/SbtCompletionsSuite.scala @@ -119,12 +119,13 @@ class SbtCompletionsSuite extends AnyFunSuite { |NoValInForComprehension | Removes deprecated val inside for-comprehension binders |OrganizeImports + | Organize import statements |ProcedureSyntax | Replaces deprecated procedure syntax with explicit ': Unit =' |RedundantSyntax | Removes redundant syntax such as `final` modifiers on an object |RemoveUnused - | Removes unused imports and terms that reported by the compiler under -Ywarn-unused + | Removes unused imports and terms that reported by the compiler under -Wunused |SemanticRule |SyntacticRule |class: diff --git a/src/test/scala/scalafix/internal/sbt/ScalafixAPISuite.scala b/src/test/scala/scalafix/internal/sbt/ScalafixAPISuite.scala index 539ef62a..313b5985 100644 --- a/src/test/scala/scalafix/internal/sbt/ScalafixAPISuite.scala +++ b/src/test/scala/scalafix/internal/sbt/ScalafixAPISuite.scala @@ -34,7 +34,7 @@ class ScalafixAPISuite extends AnyFunSuite { val interface = ScalafixInterface .fromToolClasspath( "2.12", - List("ch.epfl.scala" %% "example-scalafix-rule" % "3.0.0"), + List("ch.epfl.scala" %% "example-scalafix-rule" % "4.0.0"), Seq( Repository.central, MavenRepository.of(