Skip to content

Commit

Permalink
Fix duplicate file extension in test diff output files
Browse files Browse the repository at this point in the history
  • Loading branch information
steeltomato committed Nov 17, 2023
1 parent 86f4c04 commit 8d53b80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PdfSharpCore.Test/Helpers/PathHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ public static PathHelper GetInstance()

private static PathHelper _instance;
}
}
}
4 changes: 2 additions & 2 deletions PdfSharpCore.Test/Helpers/PdfHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static DiffOutput Diff(string actualImagePath, string expectedImagePath,

if (diffVal > 0 && outputPath != null && filePrefix != null)
{
WriteImage(diffImg, outputPath, $"{filePrefix}_diff.png");
WriteImage(diffImg, outputPath, $"{filePrefix}_diff");
}

return new DiffOutput
Expand Down Expand Up @@ -113,4 +113,4 @@ public class DiffOutput
public IMagickImage DiffImage;
public double DiffValue;
}
}
}

0 comments on commit 8d53b80

Please sign in to comment.