aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xwpf/TestXWPFBugs.java7
-rw-r--r--test-data/document/bug65649.docxbin0 -> 474844 bytes
2 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
diff --git a/test-data/document/bug65649.docx b/test-data/document/bug65649.docx
new file mode 100644
index 0000000000..48548788f0
--- /dev/null
+++ b/test-data/document/bug65649.docx
Binary files differ