mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-08 03:24:27 +08:00
Merge branch 'stleary:master' into master
This commit is contained in:
@@ -762,8 +762,8 @@ public class JSONMLTest {
|
||||
final String xml = JSONML.toString(originalObject);
|
||||
final JSONObject revertedObject = JSONML.toJSONObject(xml, false);
|
||||
final String newJson = revertedObject.toString();
|
||||
assertTrue("JSON Objects are not similar",originalObject.similar(revertedObject));
|
||||
assertEquals("original JSON does not equal the new JSON",originalJson, newJson);
|
||||
assertTrue("JSON Objects are not similar", originalObject.similar(revertedObject));
|
||||
assertTrue("JSON Strings are not similar", new JSONObject(originalJson).similar(new JSONObject(newJson)));
|
||||
}
|
||||
|
||||
// these tests do not pass for the following reasons:
|
||||
|
Reference in New Issue
Block a user