Skip to content

Commit 652e3d7

Browse files
authored
wrong variable in the test (#73)
1 parent b18624f commit 652e3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subprojects/json-lib-core/src/test/java/org/kordamp/json/TestUserSubmitted.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ public void testJSONObject_toBean_FieldBean() {
743743
jsonConfig.setIgnorePublicFields(false);
744744
FieldBean bean2 = (FieldBean) JSONObject.toBean(jsonObject, jsonConfig);
745745
assertNotNull(bean2);
746-
assertEquals(42, bean1.getValue());
746+
assertEquals(42, bean2.getValue());
747747
assertEquals("stringy", bean2.string);
748748
}
749749

0 commit comments

Comments
 (0)