aboutsummaryrefslogtreecommitdiff
path: root/dotnet
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet')
-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() {