Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/test/java/org/json/junit/XMLTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,8 @@ public void testIndentComplicatedJsonObjectWithArrayAndWithConfig(){
for (int numRead; (numRead = in.read(buffer, 0, buffer.length)) > 0; ) {
expected.append(buffer, 0, numRead);
}
assertEquals(expected.toString(), actualString.replaceAll("\\n|\\r\\n", System.getProperty("line.separator")));
assertEquals(expected.toString().replaceAll("\\n|\\r\\n", System.getProperty("line.separator")),
actualString.replaceAll("\\n|\\r\\n", System.getProperty("line.separator")));
Comment thread
mureinik marked this conversation as resolved.
Outdated
} finally {
if (xmlStream != null) {
xmlStream.close();
Expand Down