Skip to content

Commit

Permalink
Merge pull request #3544 from armanbilge/topic/scalafix-updates
Browse files Browse the repository at this point in the history
Scalafix updates
  • Loading branch information
armanbilge authored Mar 11, 2025
2 parents 9aaabbb + a41ffcf commit 1d67ef4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scalafix/project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.5.3
sbt.version=1.10.10
2 changes: 1 addition & 1 deletion scalafix/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.29")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.2")
2 changes: 1 addition & 1 deletion scalafix/rules/src/main/scala/fix/v1.scala
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ object StreamAppRules {
tpl.copy(
inits = tpl.inits :+ Init(Type.Name("IOApp"), Name("IOApp"), List()),
stats = addProgramRun(tpl.stats)).toString()
) + Patch.addLeft(tpl, "extends ")
)

private[this] def replaceStats(stats: List[Stat]): List[Patch] =
stats.flatMap{
Expand Down
4 changes: 2 additions & 2 deletions scalafix/tests/src/test/scala/fix/RuleSuite.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package fix

import org.scalatest.FunSuiteLike
import org.scalatest.funsuite.AnyFunSuiteLike
import scalafix.testkit.AbstractSemanticRuleSuite

class RuleSuite extends AbstractSemanticRuleSuite with FunSuiteLike {
class RuleSuite extends AbstractSemanticRuleSuite with AnyFunSuiteLike {
runAllTests()
}

0 comments on commit 1d67ef4

Please sign in to comment.