remove unfinished test

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895458 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-12-01 11:58:22 +00:00
parent 6c3fe307f5
commit a18a52316a
1 changed files with 0 additions and 15 deletions

View File

@ -139,19 +139,4 @@ public final class TestHWPFWrite extends HWPFTestCase {
assertThrows(IllegalStateException.class, doc::write);
}
}
@Test
void testBug65436() throws IOException {
UnsynchronizedByteArrayOutputStream baos = new UnsynchronizedByteArrayOutputStream();
try (HWPFDocument doc = HWPFTestDataSamples.openSampleFile("SampleDoc.doc")) {
Range r = doc.getRange();
assertEquals("I am a test document\r", r.getParagraph(0).text());
doc.write(baos);
}
try (HWPFDocument doc = new HWPFDocument(baos.toInputStream())) {
Range r = doc.getRange();
assertEquals("I am a test document\r", r.getParagraph(0).text());
}
}
}