From: Dominik Stadler Date: Sat, 26 Oct 2019 05:27:00 +0000 (+0000) Subject: Try to fix test which is still failing on Windows in a different way X-Git-Tag: REL_4_1_2~160 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=27c9b651f284f5db8dafe5f2fe888dde0dc6c770;p=poi.git Try to fix test which is still failing on Windows in a different way git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868984 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/ddf/TestEscherBSERecord.java b/src/testcases/org/apache/poi/ddf/TestEscherBSERecord.java index 0a86ef149f..184486b3bd 100644 --- a/src/testcases/org/apache/poi/ddf/TestEscherBSERecord.java +++ b/src/testcases/org/apache/poi/ddf/TestEscherBSERecord.java @@ -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 ); } - }