From ef480400a495bbcc52bb88cd261eec2d8c4256c7 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Wed, 25 Jan 2017 00:11:41 +0200 Subject: [PATCH] Use the native platform color type --- tests/Tests/SKCodecTest.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/Tests/SKCodecTest.cs b/tests/Tests/SKCodecTest.cs index 2b7022eb..1afc6548 100644 --- a/tests/Tests/SKCodecTest.cs +++ b/tests/Tests/SKCodecTest.cs @@ -22,11 +22,7 @@ namespace SkiaSharp.Tests Assert.Equal (128, codec.Info.Width); Assert.Equal (128, codec.Info.Height); Assert.Equal (SKAlphaType.Unpremul, codec.Info.AlphaType); - if (IsUnix) { - Assert.Equal (SKColorType.Rgba8888, codec.Info.ColorType); - } else { - Assert.Equal (SKColorType.Bgra8888, codec.Info.ColorType); - } + Assert.Equal (SKImageInfo.PlatformColorType, codec.Info.ColorType); } }