Skip to content

Commit 2337d1a

Browse files
committed
Fix #5238 test
1 parent a13e6e2 commit 2337d1a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test-jdk17/java/com/fasterxml/jackson/databind/records/JsonIdentityOnRecord5238Test.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static class ThingPojo {
4040
public final String name;
4141

4242
@JsonCreator
43-
public ThingPojo(@JsonProperty("prefixId") int id, @JsonProperty("name") String name) {
43+
public ThingPojo(@JsonProperty("id") int id, @JsonProperty("name") String name) {
4444
this.id = id;
4545
this.name = name;
4646
}
@@ -79,5 +79,4 @@ void testIdentityWithRecord() throws Exception {
7979
assertEquals(input.selected.id, result.selected.id);
8080
assertEquals(input.selected.name, result.selected.name);
8181
}
82-
83-
}
82+
}

0 commit comments

Comments
 (0)