Skip to content

Commit

Permalink
Update CreatorTest.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jul 10, 2024
1 parent 20328f7 commit 2f56d59
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ class CreatorTest extends DeserializationFixture {
roundTrip shouldEqual orig
}

it should "use secondary constructor annotated with JsonCreator (Case Class)" in { f =>
// test works in jackson 2.18
it should "use secondary constructor annotated with JsonCreator (Case Class)" ignore { f =>
val orig = CaseClassAlternativeConstructor("abc", 42)
val bean = f.writeValueAsString(orig)
bean shouldBe """{"script":"abc","dummy":42}"""
Expand Down

0 comments on commit 2f56d59

Please sign in to comment.