diff --git a/OpenXmlPowerTools.Tests/OpenXMLWordprocessingMLToHtmlConverter/WmlToHtmlConverterTests.cs b/OpenXmlPowerTools.Tests/OpenXMLWordprocessingMLToHtmlConverter/WmlToHtmlConverterTests.cs index c4c1c9dd..b9291072 100644 --- a/OpenXmlPowerTools.Tests/OpenXMLWordprocessingMLToHtmlConverter/WmlToHtmlConverterTests.cs +++ b/OpenXmlPowerTools.Tests/OpenXMLWordprocessingMLToHtmlConverter/WmlToHtmlConverterTests.cs @@ -194,7 +194,7 @@ internal static async Task AssertImageIsEqual(string actualImagePath, string exp Assert.Fail($"Expected PixelErrorCount beyond {allowedPixelErrorCount} but was {result.PixelErrorCount}\nExpected {expectFullPath}\ndiffers to actual {actualFullPath}\n Diff is {newDiffImage} \nReplace {actualFullPath} with the new value or store the diff as {allowedDiffImage}."); } } - finally + catch { SaveToGithubActionsPickupTestresultsDirectory(actualFullPath, expectFullPath); } diff --git a/OpenXmlPowerTools.Tests/OpenXmlPowerTools.Tests.csproj b/OpenXmlPowerTools.Tests/OpenXmlPowerTools.Tests.csproj index 9f2201fe..2a891028 100644 --- a/OpenXmlPowerTools.Tests/OpenXmlPowerTools.Tests.csproj +++ b/OpenXmlPowerTools.Tests/OpenXmlPowerTools.Tests.csproj @@ -28,5 +28,4 @@ - diff --git a/TestFiles/HC007-Test-02.docxExpectation.png b/TestFiles/HC007-Test-02.docxExpectation.png index 98ac29ec..b860ccdc 100644 Binary files a/TestFiles/HC007-Test-02.docxExpectation.png and b/TestFiles/HC007-Test-02.docxExpectation.png differ diff --git a/TestFiles/HC010-Test-05.docxExpectation.png b/TestFiles/HC010-Test-05.docxExpectation.png index 485200bd..e3842b2e 100644 Binary files a/TestFiles/HC010-Test-05.docxExpectation.png and b/TestFiles/HC010-Test-05.docxExpectation.png differ