mirror of https://github.com/apache/poi.git
test for TIKA-2163
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903777 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
59f51987eb
commit
4df0415621
|
@ -487,4 +487,13 @@ class TestXWPFWordExtractor {
|
|||
assertEquals( "The following word is: CAPITALIZED.", txt.trim());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void testTika2163() throws IOException {
|
||||
try (XWPFDocument doc = XWPFTestDataSamples.openSampleDocument("ChronologicalResume.dotx");
|
||||
XWPFWordExtractor extractor = new XWPFWordExtractor(doc)) {
|
||||
String txt = extractor.getText();
|
||||
assertContains(txt, "but a great-looking résumé doesn’t have to be!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue