Skip to content

Commit

Permalink
Merge pull request #262 from scala-steward-bot/update/scalafmt-core-3…
Browse files Browse the repository at this point in the history
….8.2

Update scalafmt-core to 3.8.2
  • Loading branch information
xuwei-k authored Jun 14, 2024
2 parents 2c43227 + 0296dff commit c28f643
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 3.8.2
674bde9820a89651ed708f6800256b451364be8d
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.1"
version = "3.8.2"
align = none
align.tokens = []
align.openParenDefnSite = false
Expand Down
12 changes: 8 additions & 4 deletions src/test/scala/info/folone/scala/poi/PoiLensesTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ class PoiLensesSpec extends Specification {
}
"rowLens +=" >> {
(rowLens += StringCell(2, "data1")).run(Row(1)(Set(StringCell(1, "data"), StringCell(3, "data3")))) mustEqual
(Row(1)(Set(StringCell(1, "data"), StringCell(3, "data3"), StringCell(2, "data1"))),
Set(StringCell(1, "data"), StringCell(3, "data3"), StringCell(2, "data1")))
(
Row(1)(Set(StringCell(1, "data"), StringCell(3, "data3"), StringCell(2, "data1"))),
Set(StringCell(1, "data"), StringCell(3, "data3"), StringCell(2, "data1"))
)
}
"rowLens &=" >> {
(rowLens &= Set(StringCell(2, "data1"))).run(Row(1)(Set(StringCell(1, "data"), StringCell(2, "data1")))) mustEqual
Expand All @@ -39,8 +41,10 @@ class PoiLensesSpec extends Specification {
(Row(1)(Set(StringCell(1, "data"), StringCell(2, "data1"))), Set(StringCell(1, "data"), StringCell(2, "data1")))

(rowLens |= Set(StringCell(2, "data1"))).run(Row(1)(Set(StringCell(1, "data"), StringCell(2, "data2")))) mustEqual
(Row(1)(Set(StringCell(1, "data"), StringCell(2, "data2"), StringCell(2, "data1"))),
Set(StringCell(1, "data"), StringCell(2, "data2"), StringCell(2, "data1")))
(
Row(1)(Set(StringCell(1, "data"), StringCell(2, "data2"), StringCell(2, "data1"))),
Set(StringCell(1, "data"), StringCell(2, "data2"), StringCell(2, "data1"))
)
}
"rowLens -=" >> {
(rowLens -= StringCell(2, "data1")).run(Row(1)(Set(StringCell(1, "data"), StringCell(2, "data1")))) mustEqual
Expand Down

0 comments on commit c28f643

Please sign in to comment.