Skip to content

Commit 1d67ef4

Browse files
authored
Merge pull request #3544 from armanbilge/topic/scalafix-updates
Scalafix updates
2 parents 9aaabbb + a41ffcf commit 1d67ef4

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

scalafix/project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.5.3
1+
sbt.version=1.10.10

scalafix/project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.29")
1+
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.2")

scalafix/rules/src/main/scala/fix/v1.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ object StreamAppRules {
391391
tpl.copy(
392392
inits = tpl.inits :+ Init(Type.Name("IOApp"), Name("IOApp"), List()),
393393
stats = addProgramRun(tpl.stats)).toString()
394-
) + Patch.addLeft(tpl, "extends ")
394+
)
395395

396396
private[this] def replaceStats(stats: List[Stat]): List[Patch] =
397397
stats.flatMap{
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package fix
22

3-
import org.scalatest.FunSuiteLike
3+
import org.scalatest.funsuite.AnyFunSuiteLike
44
import scalafix.testkit.AbstractSemanticRuleSuite
55

6-
class RuleSuite extends AbstractSemanticRuleSuite with FunSuiteLike {
6+
class RuleSuite extends AbstractSemanticRuleSuite with AnyFunSuiteLike {
77
runAllTests()
88
}

0 commit comments

Comments
 (0)