aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-04-28 21:44:53 +0100
committerMichael Williamson <mike@zwobble.org>2016-04-28 21:44:53 +0100
commit4caa94950ef6c53d109e83172270160419225495 (patch)
tree66e13e077f26a1476c3e339fa2a72c7c2911a3df
parent7a8b351c44929e1bac0ad3cd4114dbe60a928648 (diff)
Add test for text boxes
-rw-r--r--dotnet/Mammoth.Tests/DocumentConverterTests.cs7
1 files changed, 7 insertions, 0 deletions
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 {
"<ol><li id=\"doc-42-footnote-1\"><p> <a href=\"http://www.example.com\">Example</a> <a href=\"#doc-42-footnote-ref-1\">↑</a></p></li></ol>");
}
+ [Fact]
+ public void TextBoxesAreRead() {
+ AssertSuccessfulConversion(
+ ConvertToHtml("text-box.docx"),
+ "<p>Datum plane</p>");
+ }
+
[Fact]
public void CanExtractRawTextFromFile() {
AssertSuccessfulConversion(