diff --git a/JSONMLTest.java b/JSONMLTest.java index 04f49d7..729c68f 100644 --- a/JSONMLTest.java +++ b/JSONMLTest.java @@ -319,7 +319,7 @@ public class JSONMLTest { "\n"+ "\n"+ "
\n"+ - " comment ]]>\n"+ + "\n"+ "Joe Tester\n"+ "\n"+ @@ -329,7 +329,6 @@ public class JSONMLTest { String expectedStr = "[\"addresses\","+ "[\"address\","+ - "\" this is -- comment \","+ "[\"name\",\"Joe Tester\"],"+ "[\"street\",\"Baker street 5\"]"+ "]"+ @@ -339,9 +338,7 @@ public class JSONMLTest { String xmlToStr = JSONML.toString(jsonArray); JSONArray finalJsonArray = JSONML.toJSONArray(xmlToStr); Util.compareActualVsExpectedJsonArrays(jsonArray, expectedJsonArray); - // TODO this test fails because JSONML.toString() escapes the - // <> chars in the comment. - // Util.compareActualVsExpectedJsonArrays(finalJsonArray, expectedJsonArray); + Util.compareActualVsExpectedJsonArrays(finalJsonArray, expectedJsonArray); } }