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())) ) } ),