mirror of https://github.com/apache/poi.git
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:
parent
6c3fe307f5
commit
a18a52316a
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue