aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml
diff options
context:
space:
mode:
Diffstat (limited to 'poi-ooxml')
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java b/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java
index f6339332e1..3ba2371d19 100644
--- a/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java
+++ b/poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java
@@ -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());
+ }
+ }
} \ No newline at end of file