Skip to content

Commit d34be7f

Browse files
corrected test
1 parent 88f27f3 commit d34be7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ of this software and associated documentation files (the "Software"), to deal
4040
* comparisons of .toString to a string literal are likely to fail.
4141
*
4242
* @author JSON.org
43-
* @version 2011-10-16
43+
* @version 2011-10-24
4444
*/
4545
public class Test extends TestCase {
4646
public Test(String name) {
@@ -70,7 +70,7 @@ public void testXML() throws Exception {
7070

7171
string = "<subsonic-response><playlists><playlist id=\"476c65652e6d3375\"/><playlist id=\"50617274792e78737066\"/></playlists></subsonic-response>";
7272
jsonobject = XML.toJSONObject(string);
73-
assertEquals("{\"subsonic-response\":\"playlists\":{\"playlist\":[{\"id\":\"476c65652e6d337\"},\"id\":\"50617274792e78737066\"}]}}}", jsonobject.toString());
73+
assertEquals("{\"subsonic-response\":{\"playlists\":{\"playlist\":[{\"id\":\"476c65652e6d3375\"},{\"id\":\"50617274792e78737066\"}]}}}", jsonobject.toString());
7474
}
7575

7676
public void testNull() throws Exception {

0 commit comments

Comments
 (0)