We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f029cb commit 569e595Copy full SHA for 569e595
src/test/java/net/authorize/util/XmlUtilityTest.java
@@ -88,8 +88,8 @@ public void testErrorResponse() {
88
Assert.assertNotNull( xmlFromResponseOfApiCallXml);
89
90
//clean up spaces and line breaks for comparison
91
- Assert.assertEquals(xmlFromApiCall.replaceAll("[ ]",""),
92
- xmlFromResponseOfApiCallXml.replaceAll("["+System.lineSeparator()+" ]", ""));
+ Assert.assertEquals(xmlFromApiCall.replaceAll("[ ]",""),
+ xmlFromResponseOfApiCallXml.replaceAll("["+System.getProperty("line.separator")+" ]", ""));
93
} catch (Exception e) {
94
Assert.fail(e.getMessage());
95
}
0 commit comments