Skip to content

Commit

Permalink
Merge pull request #252 from typelevel/update/scalafmt-core-3.5.8
Browse files Browse the repository at this point in the history
Update scalafmt-core to 3.5.8
  • Loading branch information
rossabaker authored Jun 4, 2022
2 parents a698544 + 73d2d99 commit 85fdd22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.5.2
version = 3.5.8

runner.dialect = Scala213Source3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ class CIStringSuite extends DisciplineSuite {

property("substitutable comparison") {
forAll { (x: CIString, y: CIString, z: CIString) =>
assert((x.compare(y) != 0) || (signum(x.compare(z)) == signum((y.compare(z)))))
assert((x.compare(y) != 0) || (signum(x.compare(z)) == signum(y.compare(z))))
}
}

property("equality consistent with comparison") {
forAll { (x: CIString, y: CIString) =>
assertEquals((x == y), (x.compare(y) == 0))
assertEquals(x == y, x.compare(y) == 0)
}
}

Expand Down

0 comments on commit 85fdd22

Please sign in to comment.