From a7bf6ff3b046dd7a5f6fa3d630f09570f1de41c6 Mon Sep 17 00:00:00 2001 From: Jisoo Park Date: Thu, 4 Jul 2024 14:09:23 +0900 Subject: [PATCH] fmt test sources --- .../src/test/scala-2/zio/schema/codec/JsonCodecSpec.scala | 1 + .../src/test/scala-3/zio/schema/codec/DefaultValueSpec.scala | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/zio-schema-json/shared/src/test/scala-2/zio/schema/codec/JsonCodecSpec.scala b/zio-schema-json/shared/src/test/scala-2/zio/schema/codec/JsonCodecSpec.scala index 11f7b848b..af3673eec 100644 --- a/zio-schema-json/shared/src/test/scala-2/zio/schema/codec/JsonCodecSpec.scala +++ b/zio-schema-json/shared/src/test/scala-2/zio/schema/codec/JsonCodecSpec.scala @@ -1607,6 +1607,7 @@ object JsonCodecSpec extends ZIOSpecDefault { } @rejectExtraFields final case class CaseClass0WithRejectExtraFields() + object CaseClass0WithRejectExtraFields { val schema: Schema[CaseClass0WithRejectExtraFields] = DeriveSchema.gen[CaseClass0WithRejectExtraFields] } diff --git a/zio-schema-json/shared/src/test/scala-3/zio/schema/codec/DefaultValueSpec.scala b/zio-schema-json/shared/src/test/scala-3/zio/schema/codec/DefaultValueSpec.scala index cd65b6a00..4b2dd94bc 100644 --- a/zio-schema-json/shared/src/test/scala-3/zio/schema/codec/DefaultValueSpec.scala +++ b/zio-schema-json/shared/src/test/scala-3/zio/schema/codec/DefaultValueSpec.scala @@ -12,7 +12,7 @@ object DefaultValueSpec extends ZIOSpecDefault { def spec: Spec[TestEnvironment, Any] = suite("Custom Spec")( - customSuite, + customSuite ) @@ timeout(90.seconds) private val customSuite = suite("custom")( @@ -24,7 +24,7 @@ object DefaultValueSpec extends ZIOSpecDefault { ) ) - case class WithDefaultValue(orderId:Int, description: String = "desc") + case class WithDefaultValue(orderId: Int, description: String = "desc") object WithDefaultValue { implicit lazy val schema: Schema[WithDefaultValue] = DeriveSchema.gen[WithDefaultValue]