Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit319e3b9

Browse files
Merge pull requeststleary#53 from wjzijderveld/master
Changed Exception wrap test to more common exception
2 parentsd99ecc4 +f506531 commit319e3b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tests/TestJSONObject.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,8 +1401,8 @@ public void testWrap()
14011401
Map<String,Object>map =newHashMap<String,Object>();
14021402
map.put("abc","123");
14031403
assertEquals("{\"abc\":\"123\"}",JSONObject.wrap(map).toString());
1404-
assertEquals("javax.print.PrintException",
1405-
JSONObject.wrap(newjavax.print.PrintException()));
1404+
assertEquals("java.io.IOException",
1405+
JSONObject.wrap(newjava.io.IOException()));
14061406
Class<?>d =this.getClass();
14071407
assertEquals("class org.json.tests.TestJSONObject",
14081408
JSONObject.wrap(d));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp