Skip to content

Commit f1ca268

Browse files
authored
Merge pull request #193 from Dwolla/downgrade-scalafix
Downgrade Scalafix
2 parents 9d8f0c4 + 15af645 commit f1ca268

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

project/AsyncUtilsBuildPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ object AsyncUtilsBuildPlugin extends AutoPlugin {
6363

6464
private val supportedVersions = (currentTwitterVersion :: oldVersions).sorted.reverse
6565

66-
private val SCALA_2_13: String = "2.13.14"
66+
private val SCALA_2_13: String = "2.13.13"
6767
private val SCALA_2_12 = "2.12.19"
6868
private val Scala2Versions: Seq[String] = Seq(SCALA_2_13, SCALA_2_12)
6969

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.10.0
1+
sbt.version=1.9.9

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.7.1")
33
addSbtPlugin("org.typelevel" % "sbt-typelevel-mergify" % "0.7.1")
44
addSbtPlugin("org.typelevel" % "sbt-typelevel-settings" % "0.7.1")
55
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
6-
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.1")
6+
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.0")
77
addSbtPlugin("com.eed3si9n" % "sbt-projectmatrix" % "0.10.0")

scalafix/rules/src/test/scala/com/dwolla/scrooge/scalafix/AddCatsTaglessInstancesTest.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class AddCatsTaglessInstancesTest extends FunSuite {
6969

7070
test("add SimpleService companion object with implicits") {
7171
val expectedPatchContent =
72-
"""Add(}, RightBrace [467..468), }
72+
"""Add(}, RightBrace(}) [467..468), }
7373
|
7474
| object SimpleService {
7575
| implicit def SimpleServiceInReaderT[F[_]]: SimpleService[({type Λ[β0] = _root_.cats.data.ReaderT[F, SimpleService[F], β0]})#Λ] =
@@ -92,12 +92,12 @@ class AddCatsTaglessInstancesTest extends FunSuite {
9292

9393
test("add replacement MethodPerEndpoint that extends SimpleService[Future]") {
9494
val expectedPatchContent =
95-
"""Add(}, RightBrace [467..468), }
95+
"""Add(}, RightBrace(}) [467..468), }
9696
| trait MethodPerEndpoint extends SimpleService[Future])""".stripMargin
9797

9898
expect(patch.toString.contains(expectedPatchContent))
9999
}
100-
100+
101101
test("the patches don't touch SimpleService2, which has already been fixed") {
102102
expect(!patch.toString.contains("SimpleService2"))
103103
expect(!patch.toString.contains(s"Add(Future, Future [${range("Future")(input.lastIndexOf)}), F)"))

0 commit comments

Comments
 (0)