From c27367ab182e0182a232541fd78da2851c4b47fc Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Tue, 4 Jun 2024 17:17:00 +0200 Subject: [PATCH] Make unit tests more reliable (#2890) --- tests/Tests/SkiaSharp/SKPictureTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Tests/SkiaSharp/SKPictureTest.cs b/tests/Tests/SkiaSharp/SKPictureTest.cs index 7c087cce3e..fb6e547bb0 100644 --- a/tests/Tests/SkiaSharp/SKPictureTest.cs +++ b/tests/Tests/SkiaSharp/SKPictureTest.cs @@ -107,7 +107,7 @@ public void CanGetApproximateBytesUsed() { using var picture = CreateTestPicture(); - Assert.Equal(648, picture.ApproximateBytesUsed); + Assert.True(picture.ApproximateBytesUsed > 0); } } }