From 7feb43e6efaace7beb9bc95ade4d122f83635dd4 Mon Sep 17 00:00:00 2001 From: Andrapyre <42009361+Andrapyre@users.noreply.github.com> Date: Sat, 4 May 2024 09:30:55 +0200 Subject: [PATCH] fixing json codec test again --- .../src/test/scala-2/zio/schema/codec/JsonCodecSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 11a61cf07..09e16f63f 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 @@ -424,7 +424,7 @@ object JsonCodecSpec extends ZIOSpecDefault { ), test("Currency") { check(Gen.currency)( - currency => assertDecodes(Schema[java.util.Currency], currency, stringify(currency.getCurrencyCode)) + currency => assertDecodes(Schema[java.util.Currency], currency, stringify(currency.getCurrencyCode())) ) } ),