Skip to content

Commit 0258139

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

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

6565
case class MultipleConstructors(script: String, dummy: Int) {
6666
def this(script: String) = {
67-
this(script, 0)
67+
this(script, -1)
6868
}
6969
}
7070

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

0 commit comments

Comments
 (0)