From 27c9b651f284f5db8dafe5f2fe888dde0dc6c770 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 26 Oct 2019 05:27:00 +0000 Subject: [PATCH] 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 --- src/testcases/org/apache/poi/ddf/TestEscherBSERecord.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 ); } - } -- 2.39.5