Skip to content

Commit 22d62d4

Browse files
Update scalafmt-core to 3.9.7 (#434)
* Update scalafmt-core to 3.9.7 * Reformat with scalafmt 3.9.7 Executed command: scalafmt --non-interactive * Add 'Reformat with scalafmt 3.9.7' to .git-blame-ignore-revs
1 parent 4e77be1 commit 22d62d4

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Scala Steward: Reformat with scalafmt 3.9.7
2+
113e467082dc892e94e7160f7906fca2a3a770f5

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "3.9.6"
1+
version = "3.9.7"
22
style = default
33
runner.dialect = scala3
44
docstrings.style = Asterisk

shared/src/main/scala/cats/scalatest/EitherValues.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ trait EitherValues {
4343
def value: T =
4444
either match {
4545
case Right(right) => right
46-
case Left(left) =>
46+
case Left(left) =>
4747
throw new TestFailedException(
4848
(_: StackDepthException) => Some(s"'$left' is a Left, expected a Right."),
4949
None,

shared/src/main/scala/cats/scalatest/ValidatedValues.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ trait ValidatedValues {
4141
final class Validatable[E, T](validated: Validated[E, T], pos: source.Position) {
4242
def value: T =
4343
validated match {
44-
case Valid(valid) => valid
44+
case Valid(valid) => valid
4545
case Invalid(left) =>
4646
throw new TestFailedException(
4747
(_: StackDepthException) => Some(s"'$left' is Invalid, expected Valid."),
@@ -72,7 +72,7 @@ trait ValidatedValues {
7272
def valid: Valid[T] =
7373
validated match {
7474
case valid: Valid[T] => valid
75-
case _ =>
75+
case _ =>
7676
throw new TestFailedException(
7777
(_: StackDepthException) => Some("The Validated on which valid was invoked was not a Valid."),
7878
None,
@@ -88,7 +88,7 @@ trait ValidatedValues {
8888
def invalid: Invalid[E] =
8989
validated match {
9090
case invalid: Invalid[E] => invalid
91-
case _ =>
91+
case _ =>
9292
throw new TestFailedException(
9393
(_: StackDepthException) => Some("The Validated on which invalid was invoked was not an Invalid."),
9494
None,

0 commit comments

Comments
 (0)