From 4caa94950ef6c53d109e83172270160419225495 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 28 Apr 2016 21:44:53 +0100 Subject: Add test for text boxes --- dotnet/Mammoth.Tests/DocumentConverterTests.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dotnet') diff --git a/dotnet/Mammoth.Tests/DocumentConverterTests.cs b/dotnet/Mammoth.Tests/DocumentConverterTests.cs index 6ae0fe7..8f34fea 100644 --- a/dotnet/Mammoth.Tests/DocumentConverterTests.cs +++ b/dotnet/Mammoth.Tests/DocumentConverterTests.cs @@ -108,6 +108,13 @@ namespace Mammoth.Tests { "
  1. Example ↑

"); } + [Fact] + public void TextBoxesAreRead() { + AssertSuccessfulConversion( + ConvertToHtml("text-box.docx"), + "

Datum plane

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