Skip to content

Commit a50a5be

Browse files
committed
make it a tiny bit more forgivving for full framework errors
1 parent 0422bc8 commit a50a5be

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/ImageSharp.Drawing.Tests/Shapes/SvgPath.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the Apache License, Version 2.0.
33

44
using SixLabors.ImageSharp.Drawing.Processing;
5+
using SixLabors.ImageSharp.Drawing.Tests.TestUtilities.ImageComparison;
56
using SixLabors.ImageSharp.PixelFormats;
67
using Xunit;
78

@@ -25,7 +26,8 @@ public void RenderSvgPath<TPixel>(TestImageProvider<TPixel> provider, string svg
2526

2627
provider.RunValidatingProcessorTest(
2728
c => c.Fill(Color.White).Draw(Color.Red, 5, path),
28-
new { type = exampleImageKey });
29+
new { type = exampleImageKey },
30+
comparer: ImageComparer.TolerantPercentage(0.002f));
2931
}
3032
}
3133
}

0 commit comments

Comments
 (0)