Skip to content

Commit 5648380

Browse files
committed
Fixes for the non Windows builds.
1 parent fdd8d11 commit 5648380

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

tests/Magick.NET.Tests/MagickNETTests/TheSupportedFormatsProperty.cs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void ShouldContainTheCorrectNumberOfReadableFormats()
4444
if (Runtime.IsWindows)
4545
Assert.Equal(253, formatsCount);
4646
else
47-
Assert.Equal(248, formatsCount);
47+
Assert.Equal(249, formatsCount);
4848
}
4949

5050
[Fact]
@@ -722,17 +722,8 @@ public void ShouldReturnTheFormatsWithTheCorrectSettings()
722722
break;
723723
case MagickFormat.Http:
724724
Assert.True(formatInfo.SupportsMultipleFrames);
725-
if (Runtime.IsWindows)
726-
{
727-
Assert.True(formatInfo.SupportsReading);
728-
Assert.True(formatInfo.CanReadMultithreaded);
729-
}
730-
else
731-
{
732-
Assert.False(formatInfo.SupportsReading);
733-
Assert.False(formatInfo.CanReadMultithreaded);
734-
}
735-
725+
Assert.True(formatInfo.SupportsReading);
726+
Assert.True(formatInfo.CanReadMultithreaded);
736727
Assert.False(formatInfo.SupportsWriting);
737728
Assert.False(formatInfo.CanWriteMultithreaded);
738729
break;

0 commit comments

Comments
 (0)