Skip to content

Commit

Permalink
Fixes for the non Windows builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Jan 28, 2025
1 parent fdd8d11 commit 5648380
Showing 1 changed file with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void ShouldContainTheCorrectNumberOfReadableFormats()
if (Runtime.IsWindows)
Assert.Equal(253, formatsCount);
else
Assert.Equal(248, formatsCount);
Assert.Equal(249, formatsCount);
}

[Fact]
Expand Down Expand Up @@ -722,17 +722,8 @@ public void ShouldReturnTheFormatsWithTheCorrectSettings()
break;
case MagickFormat.Http:
Assert.True(formatInfo.SupportsMultipleFrames);
if (Runtime.IsWindows)
{
Assert.True(formatInfo.SupportsReading);
Assert.True(formatInfo.CanReadMultithreaded);
}
else
{
Assert.False(formatInfo.SupportsReading);
Assert.False(formatInfo.CanReadMultithreaded);
}

Assert.True(formatInfo.SupportsReading);
Assert.True(formatInfo.CanReadMultithreaded);
Assert.False(formatInfo.SupportsWriting);
Assert.False(formatInfo.CanWriteMultithreaded);
break;
Expand Down

0 comments on commit 5648380

Please sign in to comment.