From 7a8b351c44929e1bac0ad3cd4114dbe60a928648 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 28 Apr 2016 21:44:45 +0100 Subject: Add test for relationship reading --- dotnet/Mammoth.Tests/DocumentConverterTests.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dotnet/Mammoth.Tests/DocumentConverterTests.cs b/dotnet/Mammoth.Tests/DocumentConverterTests.cs index 8d72d40..6ae0fe7 100644 --- a/dotnet/Mammoth.Tests/DocumentConverterTests.cs +++ b/dotnet/Mammoth.Tests/DocumentConverterTests.cs @@ -99,6 +99,15 @@ namespace Mammoth.Tests { "
  • Fin. ↑

  • "); } + [Fact] + public void RelationshipsAreReadForEachFileContainingBodyXml() { + AssertSuccessfulConversion( + ConvertToHtml("footnote-hyperlink.docx", mammoth => mammoth.IdPrefix("doc-42-")), + + "

    [1]

    " + + "
    1. Example ↑

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