Browse Source

[bug-65649] add test case

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894492 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_0
PJ Fanning 2 years ago
parent
commit
2730bdc113

+ 7
- 0
poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java View File

@@ -151,4 +151,11 @@ class TestXWPFBugs {
zf.close();
}
}

@Test
void bug65649() throws IOException {
try (XWPFDocument document = new XWPFDocument(samples.openResourceAsStream("bug65649.docx"))) {
assertEquals(731, document.getParagraphs().size());
}
}
}

BIN
test-data/document/bug65649.docx View File


Loading…
Cancel
Save