diff options
Diffstat (limited to 'Mammoth.Tests/DocumentConverterTests.cs')
| -rw-r--r-- | Mammoth.Tests/DocumentConverterTests.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Mammoth.Tests/DocumentConverterTests.cs b/Mammoth.Tests/DocumentConverterTests.cs index ab0f63e..1d4da54 100644 --- a/Mammoth.Tests/DocumentConverterTests.cs +++ b/Mammoth.Tests/DocumentConverterTests.cs @@ -183,6 +183,14 @@ namespace Mammoth.Tests { } [Fact] + public void EmbeddedStyleMapIsUsedIfPresent() { + AssertSuccessfulConversion( + ConvertToHtml("embedded-style-map.docx"), + "<h1>Walking on imported air</h1>" + ); + } + + [Fact] public void CanExtractRawTextFromFile() { AssertSuccessfulConversion( new DocumentConverter().ExtractRawText(TestFilePath("simple-list.docx")), |
