From 45897f5b0a254b56e0f3edde771cbfe14cc173bb Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 1 Apr 2017 16:21:41 +0100 Subject: Add test case for embedded style map --- Mammoth.Tests/DocumentConverterTests.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Mammoth.Tests/DocumentConverterTests.cs') 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 @@ -182,6 +182,14 @@ namespace Mammoth.Tests { Assert.Equal("

Apple

Banana

", result.Value); } + [Fact] + public void EmbeddedStyleMapIsUsedIfPresent() { + AssertSuccessfulConversion( + ConvertToHtml("embedded-style-map.docx"), + "

Walking on imported air

" + ); + } + [Fact] public void CanExtractRawTextFromFile() { AssertSuccessfulConversion( -- cgit v1.2.3