Two more tests which are failing in CI on Windows

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1869014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2019-10-26 19:14:35 +00:00
parent 52b4ecfa9b
commit b7b82920c2
2 changed files with 2 additions and 4 deletions

View File

@ -34,7 +34,6 @@ public final class TestEscherBoolProperty {
"\t, \"flags\": 383 /* */ \n" + "\t, \"flags\": 383 /* */ \n" +
"\t, \"value\": 1\n" + "\t, \"value\": 1\n" +
"}"; "}";
expected = expected.replace("\n", System.getProperty("line.separator")); assertEquals(expected, p.toString().replace("\r", ""));
assertEquals(expected, p.toString());
} }
} }

View File

@ -68,8 +68,7 @@ public final class TestEscherDgRecord {
"\t, \"lastMSOSPID\": 1025 /* 0x00000401 */\n" + "\t, \"lastMSOSPID\": 1025 /* 0x00000401 */\n" +
"\t, \"drawingGroupId\": 1\n" + "\t, \"drawingGroupId\": 1\n" +
"}"; "}";
expected = expected.replace("\n", System.getProperty("line.separator")); assertEquals( expected, createRecord().toString().replace("\r", "") );
assertEquals( expected, createRecord().toString() );
} }
private static EscherDgRecord createRecord() private static EscherDgRecord createRecord()