Skip to content

Commit 569e595

Browse files
author
brianmc
committed
removed 1.7 feature
1 parent 5f029cb commit 569e595

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/net/authorize/util/XmlUtilityTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ public void testErrorResponse() {
8888
Assert.assertNotNull( xmlFromResponseOfApiCallXml);
8989

9090
//clean up spaces and line breaks for comparison
91-
Assert.assertEquals(xmlFromApiCall.replaceAll("[ ]",""),
92-
xmlFromResponseOfApiCallXml.replaceAll("["+System.lineSeparator()+" ]", ""));
91+
Assert.assertEquals(xmlFromApiCall.replaceAll("[ ]",""),
92+
xmlFromResponseOfApiCallXml.replaceAll("["+System.getProperty("line.separator")+" ]", ""));
9393
} catch (Exception e) {
9494
Assert.fail(e.getMessage());
9595
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy