Merge branch 'stleary:master' into master

This commit is contained in:
Rudrajyoti Biswas
2023-10-21 12:29:31 +00:00
committed by GitHub
9 changed files with 115 additions and 24 deletions

View File

@@ -1234,7 +1234,7 @@ public class XMLTest {
for (int numRead; (numRead = in.read(buffer, 0, buffer.length)) > 0; ) {
expected.append(buffer, 0, numRead);
}
assertEquals(expected.toString(), actualString);
assertTrue(XML.toJSONObject(expected.toString()).similar(XML.toJSONObject(actualString)));
}
} catch (IOException e) {
fail("file writer error: " +e.getMessage());