Browse Source

Do not run windows specific tests on macOS

js/color-alpha-handling
AlexNDRmac 5 years ago
parent
commit
c00ca80e19
No known key found for this signature in database GPG Key ID: ECCF738337BCF66F
  1. 4
      tests/ImageSharp.Tests/TestUtilities/Tests/TestEnvironmentTests.cs

4
tests/ImageSharp.Tests/TestUtilities/Tests/TestEnvironmentTests.cs

@ -67,7 +67,7 @@ namespace SixLabors.ImageSharp.Tests
[InlineData("lol/Baz.gif", typeof(GifEncoder))]
public void GetReferenceEncoder_ReturnsCorrectEncoders_Windows(string fileName, Type expectedEncoderType)
{
if (TestEnvironment.IsLinux)
if (!TestEnvironment.IsWindows)
{
return;
}
@ -83,7 +83,7 @@ namespace SixLabors.ImageSharp.Tests
[InlineData("lol/Baz.gif", typeof(GifDecoder))]
public void GetReferenceDecoder_ReturnsCorrectDecoders_Windows(string fileName, Type expectedDecoderType)
{
if (TestEnvironment.IsLinux)
if (!TestEnvironment.IsWindows)
{
return;
}

Loading…
Cancel
Save