summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-04-28 21:39:28 +0100
committerMichael Williamson <mike@zwobble.org>2016-04-28 21:39:28 +0100
commit29e34803b9761d422e191c174166f5b76f36c469 (patch)
tree16971fbaea71e3a6ef4d1983383cafafe97a8b8d
parent5bdef288372d3a6a8134479a6497c44f3b17c4dc (diff)
Add simple list test
-rw-r--r--dotnet/Mammoth.Tests/DocumentConverterTests.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/dotnet/Mammoth.Tests/DocumentConverterTests.cs b/dotnet/Mammoth.Tests/DocumentConverterTests.cs
index a551dd7..c0934d3 100644
--- a/dotnet/Mammoth.Tests/DocumentConverterTests.cs
+++ b/dotnet/Mammoth.Tests/DocumentConverterTests.cs
@@ -31,9 +31,14 @@ namespace Mammoth.Tests {
AssertSuccessfulConversion(
ConvertToHtml("empty.docx", converter => converter.PreserveEmptyParagraphs()),
"<p></p>");
- }
+ }
- // TODO: simple list
+ [Fact]
+ public void simpleListIsConvertedToListElements() {
+ AssertSuccessfulConversion(
+ ConvertToHtml("simple-list.docx"),
+ "<ul><li>Apple</li><li>Banana</li></ul>");
+ }
[Fact]
public void WordTablesAreConvertedToHtmlTables() {