Skip to content

Commit

Permalink
Merge pull request #526 from scala-steward/update/scalafmt-core-3.8.4
Browse files Browse the repository at this point in the history
Update scalafmt-core to 3.8.4
  • Loading branch information
mergify[bot] authored Jan 14, 2025
2 parents 5df977f + c7da882 commit 093735e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@

# Scala Steward: Reformat with scalafmt 3.8.2
32114d9e9e6fc91aab23e6042e46157c4a5253af

# Scala Steward: Reformat with scalafmt 3.8.4
1f703b5dae8779c51d97236fcbbde73767135a5b
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.8.3"
version = "3.8.4"
style = default

maxColumn = 100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ class TraversableLikeExtensionMethods[A, Repr](private val self: c.GenTraversabl
key: A => K
)(f: A => B)(implicit bf: CanBuildFrom[Repr, B, That]): Map[K, That] = {
val map = m.Map.empty[K, m.Builder[B, That]]
for (elem <- self) {
for (elem <- self) {
val k = key(elem)
val bldr = map.getOrElseUpdate(k, bf(self.repr))
bldr += f(elem)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ class TraversableLikeExtensionMethods[A, Repr](private val self: c.GenTraversabl
key: A => K
)(f: A => B)(implicit bf: CanBuildFrom[Repr, B, That]): Map[K, That] = {
val map = m.Map.empty[K, m.Builder[B, That]]
for (elem <- self) {
for (elem <- self) {
val k = key(elem)
val bldr = map.getOrElseUpdate(k, bf(self.repr))
bldr += f(elem)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,12 @@ class NormalizerTest extends munit.FunSuite {
"9",
"9"
),
Array("\ufee5\ufee6\ufee7\ufee8", // Arabic forms
"\ufee5\ufee6\ufee7\ufee8",
"\ufee5\ufee6\ufee7\ufee8",
"\u0646\u0646\u0646\u0646",
"\u0646\u0646\u0646\u0646"
Array(
"\ufee5\ufee6\ufee7\ufee8", // Arabic forms
"\ufee5\ufee6\ufee7\ufee8",
"\ufee5\ufee6\ufee7\ufee8",
"\u0646\u0646\u0646\u0646",
"\u0646\u0646\u0646\u0646"
),
Array("\u2460", // ① : Circled
"\u2460",
Expand Down

0 comments on commit 093735e

Please sign in to comment.