We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d99ecc4 + f506531 commit 319e3b9Copy full SHA for 319e3b9
tests/TestJSONObject.java
@@ -1401,8 +1401,8 @@ public void testWrap()
1401
Map<String, Object> map = new HashMap<String, Object>();
1402
map.put("abc", "123");
1403
assertEquals("{\"abc\":\"123\"}", JSONObject.wrap(map).toString());
1404
- assertEquals("javax.print.PrintException",
1405
- JSONObject.wrap(new javax.print.PrintException()));
+ assertEquals("java.io.IOException",
+ JSONObject.wrap(new java.io.IOException()));
1406
Class<?> d = this.getClass();
1407
assertEquals("class org.json.tests.TestJSONObject",
1408
JSONObject.wrap(d));
0 commit comments