summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/zwobble/mammoth/tests/MammothTests.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/MammothTests.java b/src/test/java/org/zwobble/mammoth/tests/MammothTests.java
index fff4cb3..665e00a 100644
--- a/src/test/java/org/zwobble/mammoth/tests/MammothTests.java
+++ b/src/test/java/org/zwobble/mammoth/tests/MammothTests.java
@@ -227,6 +227,14 @@ public class MammothTests {
}
@Test
+ public void embeddedStyleMapIsUsedIfPresent() throws IOException {
+ assertThat(
+ convertToHtml("embedded-style-map.docx"),
+ isSuccess("<h1>Walking on imported air</h1>")
+ );
+ }
+
+ @Test
public void canExtractRawTextFromFile() throws IOException {
assertThat(
new DocumentConverter().extractRawText(TestData.file("simple-list.docx")),