Skip to content

Commit 5d4599f

Browse files
committed
Update CreatorTest.scala
1 parent cc9a50f commit 5d4599f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/scala/tools/jackson/module/scala/deser/CreatorTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class CreatorTest extends DeserializationFixture {
139139
// the next check behaves differently in jackson 2.18 (dummy value ends up as 42)
140140
// jackson 3 seems more correct because the constructor annotated with JsonCreator should be used
141141
// and that ignores the dummy value in the json
142-
roundTrip shouldEqual orig.copy(dummy = 0)
142+
roundTrip shouldEqual orig.copy(dummy = -1)
143143

144144
// this part of test relies on the 2nd constructor being used (with the JsonCreator annotation)
145145
val bean2 = """{"script":"abc"}"""

0 commit comments

Comments
 (0)