Skip to content

Commit 41891bf

Browse files
committed
Update CreatorTest.scala
1 parent 7989272 commit 41891bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/scala/com/fasterxml/jackson/module/scala/deser/CreatorTest.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ object CreatorTest
4646
class AlternativeConstructor(val script: String, dummy: Int) {
4747
@JsonCreator
4848
def this(script: String) = {
49-
this(script, 0)
49+
this(script, -1)
5050
}
5151
override def equals(o: Any): Boolean = o match {
5252
case ac: AlternativeConstructor => script == ac.script
@@ -63,13 +63,13 @@ object CreatorTest
6363

6464
case class MultipleConstructors(script: String, dummy: Int) {
6565
def this(script: String) = {
66-
this(script, 0)
66+
this(script, -1)
6767
}
6868
}
6969

7070
case class MultipleConstructorsAnn @JsonCreator()(script: String, dummy: Int) {
7171
def this(script: String) = {
72-
this(script, 0)
72+
this(script, -1)
7373
}
7474
}
7575

0 commit comments

Comments
 (0)