Browse Source

Do not run windows specific tests on macOS

js/color-alpha-handling
AlexNDRmac 6 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))] [InlineData("lol/Baz.gif", typeof(GifEncoder))]
public void GetReferenceEncoder_ReturnsCorrectEncoders_Windows(string fileName, Type expectedEncoderType) public void GetReferenceEncoder_ReturnsCorrectEncoders_Windows(string fileName, Type expectedEncoderType)
{ {
if (TestEnvironment.IsLinux) if (!TestEnvironment.IsWindows)
{ {
return; return;
} }
@ -83,7 +83,7 @@ namespace SixLabors.ImageSharp.Tests
[InlineData("lol/Baz.gif", typeof(GifDecoder))] [InlineData("lol/Baz.gif", typeof(GifDecoder))]
public void GetReferenceDecoder_ReturnsCorrectDecoders_Windows(string fileName, Type expectedDecoderType) public void GetReferenceDecoder_ReturnsCorrectDecoders_Windows(string fileName, Type expectedDecoderType)
{ {
if (TestEnvironment.IsLinux) if (!TestEnvironment.IsWindows)
{ {
return; return;
} }

Loading…
Cancel
Save