Skip to content

Commit 8d53b80

Browse files
committed
Fix duplicate file extension in test diff output files
1 parent 86f4c04 commit 8d53b80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PdfSharpCore.Test/Helpers/PathHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ public static PathHelper GetInstance()
2727

2828
private static PathHelper _instance;
2929
}
30-
}
30+
}

PdfSharpCore.Test/Helpers/PdfHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static DiffOutput Diff(string actualImagePath, string expectedImagePath,
8484

8585
if (diffVal > 0 && outputPath != null && filePrefix != null)
8686
{
87-
WriteImage(diffImg, outputPath, $"{filePrefix}_diff.png");
87+
WriteImage(diffImg, outputPath, $"{filePrefix}_diff");
8888
}
8989

9090
return new DiffOutput
@@ -113,4 +113,4 @@ public class DiffOutput
113113
public IMagickImage DiffImage;
114114
public double DiffValue;
115115
}
116-
}
116+
}

0 commit comments

Comments
 (0)