aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2019-10-26 05:27:00 +0000
committerDominik Stadler <centic@apache.org>2019-10-26 05:27:00 +0000
commit27c9b651f284f5db8dafe5f2fe888dde0dc6c770 (patch)
tree20ecbee5cd420f9265e3388dde0d9fb78640327e
parentb574f4492020ace25e37df4b1da515a5f154314b (diff)
downloadpoi-27c9b651f284f5db8dafe5f2fe888dde0dc6c770.tar.gz
poi-27c9b651f284f5db8dafe5f2fe888dde0dc6c770.zip
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
-rw-r--r--src/testcases/org/apache/poi/ddf/TestEscherBSERecord.java4
1 files changed, 1 insertions, 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 );
}
-
}