aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-10-22 20:24:12 +0000
committerPJ Fanning <fanningpj@apache.org>2021-10-22 20:24:12 +0000
commit2730bdc113a00c8a128bbc848c40982745e0201e (patch)
treec8ac637af8987e00e8d5a6349769056eddf710a3 /poi-ooxml
parent5d79f841bbb513f9499647c9bd0bc6d1d9bdfafc (diff)
downloadpoi-2730bdc113a00c8a128bbc848c40982745e0201e.tar.gz
poi-2730bdc113a00c8a128bbc848c40982745e0201e.zip
[bug-65649] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894492 13f79535-47bb-0310-9956-ffa450edef68
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