Skip to content

Commit 89c1a3c

Browse files
committed
remove System.out in test
1 parent fe0f6ed commit 89c1a3c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

json-smart/src/test/java/net/minidev/json/test/TestUtf8.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public void testString() throws Exception {
1717
String s = "{\"key\":\"" + nonLatinText + "\"}";
1818
JSONObject obj = (JSONObject) JSONValue.parse(s);
1919
String v = (String) obj.get("key"); // result is incorrect
20-
System.out.println(v);
2120
assertEquals(v, nonLatinText);
2221
}
2322
}
@@ -29,7 +28,6 @@ public void testReader() throws Exception {
2928
JSONObject obj = (JSONObject) JSONValue.parse(reader);
3029

3130
String v = (String) obj.get("key"); // result is incorrect
32-
System.out.println(v);
3331
assertEquals(v, nonLatinText);
3432
}
3533
}
@@ -40,7 +38,6 @@ public void testInputStream() throws Exception {
4038
ByteArrayInputStream bis = new ByteArrayInputStream(s.getBytes("utf8"));
4139
JSONObject obj = (JSONObject) JSONValue.parse(bis);
4240
String v = (String) obj.get("key"); // result is incorrect
43-
System.out.println(v);
4441
assertEquals(v, nonLatinText);
4542
}
4643
}
@@ -51,7 +48,6 @@ public void testBytes() throws Exception {
5148
byte[] bs = s.getBytes("utf8");
5249
JSONObject obj = (JSONObject) JSONValue.parse(bs);
5350
String v = (String) obj.get("key"); // result is incorrect
54-
System.out.println(v);
5551
assertEquals(v, nonLatinText);
5652
}
5753
}

0 commit comments

Comments
 (0)