Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kazo0 committed Apr 13, 2023
1 parent 82cb82f commit 396c9e4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Uno.Toolkit.RuntimeTests/Tests/TabBarTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,6 @@ private static void AssertExpectedColor(Color expected, Color? actual)

var pixelBuffer = await bitmap.GetPixelsAsync();
var pixels = pixelBuffer.ToArray();
foreach (var p in pixels)
{
Console.WriteLine(p);
}

var offset = (y * bitmap.PixelWidth + x) * 4;
var a = pixels[offset + 3];
Expand All @@ -425,7 +421,7 @@ private static void AssertExpectedColor(Color expected, Color? actual)
}


private static async Task<RenderTargetBitmap?> TakeScreenshot(UIElement element)
private static async Task<RenderTargetBitmap?> TakeScreenshot(UIElement? element)
{
if (CanTakeScreenshot())
{
Expand Down

0 comments on commit 396c9e4

Please sign in to comment.