Skip to content

Commit 734aca2

Browse files
committed
Do not run windows specific tests on macOS
1 parent 3fc0b60 commit 734aca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void GetReferenceOutputFileName()
6767
[InlineData("lol/Baz.gif", typeof(GifEncoder))]
6868
public void GetReferenceEncoder_ReturnsCorrectEncoders_Windows(string fileName, Type expectedEncoderType)
6969
{
70-
if (TestEnvironment.IsLinux)
70+
if (!TestEnvironment.IsWindows)
7171
{
7272
return;
7373
}
@@ -83,7 +83,7 @@ public void GetReferenceEncoder_ReturnsCorrectEncoders_Windows(string fileName,
8383
[InlineData("lol/Baz.gif", typeof(GifDecoder))]
8484
public void GetReferenceDecoder_ReturnsCorrectDecoders_Windows(string fileName, Type expectedDecoderType)
8585
{
86-
if (TestEnvironment.IsLinux)
86+
if (!TestEnvironment.IsWindows)
8787
{
8888
return;
8989
}

0 commit comments

Comments
 (0)