Skip to content

Commit 4eeb289

Browse files
Update scalafmt-core to 3.5.8 (#2625)
* Update scalafmt-core to 3.5.8 * Reformat with scalafmt 3.5.8
1 parent 1642108 commit 4eeb289

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.scalafmt.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.5.3
1+
version = 3.5.8
22
runner.dialect = scala213
33
assumeStandardLibraryStripMargin = true
44
align.openParenCallSite = false

modules/core/src/test/scala/org/scalasteward/core/TestInstances.scala

+9-5
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,15 @@ object TestInstances {
9292
}
9393

9494
implicit val versionCogen: Cogen[Version] =
95-
Cogen(_.alnumComponents.map {
96-
case n: Version.Component.Numeric => n.toBigInt.toLong
97-
case a: Version.Component.Alpha => a.order.toLong
98-
case _ => 0L
99-
}.sum)
95+
Cogen(
96+
_.alnumComponents
97+
.map {
98+
case n: Version.Component.Numeric => n.toBigInt.toLong
99+
case a: Version.Component.Alpha => a.order.toLong
100+
case _ => 0L
101+
}
102+
.sum
103+
)
100104

101105
// repoconfig instances
102106

0 commit comments

Comments
 (0)