diff --git a/.scalafmt.conf b/.scalafmt.conf index 3d18214..8b14c16 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.5.2 +version = 3.5.8 runner.dialect = Scala213Source3 diff --git a/tests/shared/src/test/scala/org/typelevel/ci/CIStringSuite.scala b/tests/shared/src/test/scala/org/typelevel/ci/CIStringSuite.scala index a28087e..f03bb1c 100644 --- a/tests/shared/src/test/scala/org/typelevel/ci/CIStringSuite.scala +++ b/tests/shared/src/test/scala/org/typelevel/ci/CIStringSuite.scala @@ -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) } }