From 756306637c1e67e5f942c89e6387b3af3abfe361 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Tue, 4 Jun 2024 17:16:07 +0200 Subject: [PATCH] Make unit tests more reliable --- 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); } } }