Skip to content

Commit c40576e

Browse files
Increase tolerance.
1 parent e70cb28 commit c40576e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/ImageSharp.Drawing.Tests/Drawing/Text/DrawTextOnImageTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ public void FontShapesAreRenderedCorrectly_WithLineSpacing<TPixel>(
238238

239239
Color color = Color.Black;
240240

241-
// Strict comparer, because the image is sparse:
242-
var comparer = ImageComparer.TolerantPercentage(1e-6f);
241+
// NET472 is 0.0002 different.
242+
var comparer = ImageComparer.TolerantPercentage(0.0003f);
243243

244244
provider.VerifyOperation(
245245
comparer,

0 commit comments

Comments
 (0)