]> source.dussan.org Git - poi.git/commitdiff
Try to fix test which is still failing on Windows in a different way
authorDominik Stadler <centic@apache.org>
Sat, 26 Oct 2019 05:27:00 +0000 (05:27 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 26 Oct 2019 05:27:00 +0000 (05:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868984 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/ddf/TestEscherBSERecord.java

index 0a86ef149f78318170b62f1f225788b6d3b456fb..184486b3bd8a1fdc909aef083b11b78eaaf891cc 100644 (file)
@@ -107,9 +107,7 @@ public final class TestEscherBSERecord {
             "\t, \"blipRecord\": null\n" +
             "\t, \"remainingData\": \"\"\n" +
             "}";
-        expected = expected.replace("\n", System.getProperty("line.separator"));
-        String actual = record.toString();
+        String actual = record.toString().replace("\r", "");
         assertEquals( expected, actual );
     }
-
 }