Skip to content

Commit

Permalink
Fix deprecation warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MateuszKubuszok committed Sep 29, 2024
1 parent 1ad3ea9 commit 632ed99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chimney/src/test/scala/io/scalaland/chimney/IssuesSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -778,9 +778,9 @@ class IssuesSpec extends ChimneySpec {

val writer: Transformer[color, Target] = Transformer
.define[color, Target]
.withCoproductInstance[color.orange.type](_ => orangeTarget)
.withCoproductInstance[color.pink.type](_ => pinkTarget)
.withCoproductInstance[color.yellow.type](_ => yellowTarget)
.withSealedSubtypeHandled[color.orange.type](_ => orangeTarget)
.withSealedSubtypeHandled[color.pink.type](_ => pinkTarget)
.withSealedSubtypeHandled[color.yellow.type](_ => yellowTarget)
.enableMacrosLogging
.buildTransformer

Expand Down

0 comments on commit 632ed99

Please sign in to comment.