From a3c9e3e8dd0471136815c440251416939da954ca Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Sat, 4 Jun 2022 08:30:10 +0000 Subject: [PATCH 1/2] Update scalafmt-core to 3.5.8 --- .scalafmt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 73d2d99e2a931b96d47a95168a9cb6189964a7c2 Mon Sep 17 00:00:00 2001 From: "typelevel-steward[bot]" <106827141+typelevel-steward[bot]@users.noreply.github.com> Date: Sat, 4 Jun 2022 08:30:15 +0000 Subject: [PATCH 2/2] Reformat with scalafmt 3.5.8 --- .../src/test/scala/org/typelevel/ci/CIStringSuite.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } }