From f506531d18875812c4cb847e9895f8bc1c2e3706 Mon Sep 17 00:00:00 2001 From: Willem-Jan Zijderveld Date: Sat, 14 Apr 2012 18:56:25 +0200 Subject: [PATCH] Changed Exception test to IOException --- tests/TestJSONObject.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestJSONObject.java b/tests/TestJSONObject.java index 59798d0..5aad860 100644 --- a/tests/TestJSONObject.java +++ b/tests/TestJSONObject.java @@ -1401,8 +1401,8 @@ public class TestJSONObject extends TestCase Map map = new HashMap(); map.put("abc", "123"); assertEquals("{\"abc\":\"123\"}", JSONObject.wrap(map).toString()); - assertEquals("javax.print.PrintException", - JSONObject.wrap(new javax.print.PrintException())); + assertEquals("java.io.IOException", + JSONObject.wrap(new java.io.IOException())); Class d = this.getClass(); assertEquals("class org.json.tests.TestJSONObject", JSONObject.wrap(d));