diff --git a/test-jdk17/src/test/java/com/alibaba/fastjson2/issues/Issue3104.java b/test-jdk17/src/test/java/com/alibaba/fastjson2/issues/Issue3104.java index 9470e9249..001b31b1d 100644 --- a/test-jdk17/src/test/java/com/alibaba/fastjson2/issues/Issue3104.java +++ b/test-jdk17/src/test/java/com/alibaba/fastjson2/issues/Issue3104.java @@ -26,6 +26,6 @@ public void test() { String json = JSON.toJSONString(new Transform("zhangsan", "lisi")); assertEquals("{\"bridge\":{\"from\":\"zhangsan\",\"to\":\"lisi\"}}", json); Transform transform = JSON.parseObject(json, Transform.class); - System.out.println(transform); + assertEquals(json, JSON.toJSONString(transform)); } }