mirror of https://github.com/apache/poi.git
Fix line.separator issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868386 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
63fb65eb1b
commit
8ef4c1bf33
|
@ -107,7 +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();
|
||||
assertEquals( expected, actual );
|
||||
}
|
||||
|
|
|
@ -90,6 +90,7 @@ public final class TestEscherContainerRecord {
|
|||
"\t, recordSize: 8\n" +
|
||||
"\t, isContainer: true\n" +
|
||||
"}";
|
||||
expected = expected.replace("\n", System.getProperty("line.separator"));
|
||||
assertEquals(expected, r.toString());
|
||||
|
||||
EscherOptRecord r2 = new EscherOptRecord();
|
||||
|
@ -119,7 +120,8 @@ public final class TestEscherContainerRecord {
|
|||
"\t\t}\n" +
|
||||
"\t]\n" +
|
||||
"}";
|
||||
assertEquals(expected, r.toString());
|
||||
expected = expected.replace("\n", System.getProperty("line.separator"));
|
||||
assertEquals(expected, r.toString());
|
||||
|
||||
r.addChildRecord(r2);
|
||||
expected =
|
||||
|
@ -154,6 +156,7 @@ public final class TestEscherContainerRecord {
|
|||
"\t\t}\n" +
|
||||
"\t]\n" +
|
||||
"}";
|
||||
expected = expected.replace("\n", System.getProperty("line.separator"));
|
||||
assertEquals(expected, r.toString());
|
||||
}
|
||||
|
||||
|
|
|
@ -165,6 +165,7 @@ public final class TestEscherOptRecord {
|
|||
"\t\t, value: 1\n" +
|
||||
"\t}]\n" +
|
||||
"}";
|
||||
expected = expected.replace("\n", System.getProperty("line.separator"));
|
||||
assertEquals( expected, r.toString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue