remove JSONAssert

This commit is contained in:
simonh5
2023-10-13 20:58:50 -05:00
parent e4aa7f1308
commit 29a7f4622d
4 changed files with 9 additions and 14 deletions

View File

@@ -762,7 +762,8 @@ public class JSONMLTest {
final String xml = JSONML.toString(originalObject);
final JSONObject revertedObject = JSONML.toJSONObject(xml, false);
final String newJson = revertedObject.toString();
assertTrue("original JSON does not equal the new JSON", originalObject.similar(revertedObject));
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: