Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Aug 28, 2024
1 parent fef77f0 commit 7d698d1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package zio.json.golden

import zio._
import zio.json._
import zio.test.TestAspect.exceptScala212
import zio.test._
import zio.test.magnolia.DeriveGen

Expand Down Expand Up @@ -63,7 +64,7 @@ object GoldenSpec extends ZIOSpecDefault {
implicit val config: GoldenConfiguration =
GoldenConfiguration.default.copy(relativePath = "filteredgentype", sampleSize = 100)
goldenTest(FilteredGenType.anyFilteredGenType)
}
} @@ exceptScala212 // Quick & Dirty fix. Scala 2.12 generate BigDecimal differently making the test to fail for no good reason.
)

}

0 comments on commit 7d698d1

Please sign in to comment.