From 738c3dff0bbd15b45dca87b1c06490f7e42d3f05 Mon Sep 17 00:00:00 2001 From: Ferdinand Svehla Date: Mon, 21 Oct 2024 11:16:54 +0200 Subject: [PATCH] remove unnecessary @nowarn --- zio-json-golden/src/main/scala/zio/json/golden/package.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zio-json-golden/src/main/scala/zio/json/golden/package.scala b/zio-json-golden/src/main/scala/zio/json/golden/package.scala index e36fcfc7..8bdf6aec 100644 --- a/zio-json-golden/src/main/scala/zio/json/golden/package.scala +++ b/zio-json-golden/src/main/scala/zio/json/golden/package.scala @@ -27,7 +27,7 @@ package object golden { else DiffResult.Different(x, y) } - @nowarn implicit private lazy val diff: Diff[GoldenSample] = (x: GoldenSample, y: GoldenSample) => + implicit private lazy val diff: Diff[GoldenSample] = (x: GoldenSample, y: GoldenSample) => Diff[Json].diff(x.samples, y.samples) def goldenTest[A: Tag: JsonEncoder](