diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-04-28 21:39:28 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-04-28 21:39:28 +0100 |
| commit | 29e34803b9761d422e191c174166f5b76f36c469 (patch) | |
| tree | 16971fbaea71e3a6ef4d1983383cafafe97a8b8d /dotnet | |
| parent | 5bdef288372d3a6a8134479a6497c44f3b17c4dc (diff) | |
Add simple list test
Diffstat (limited to 'dotnet')
| -rw-r--r-- | dotnet/Mammoth.Tests/DocumentConverterTests.cs | 9 |
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() { |
