Skip to content

Commit

Permalink
Changes to unit test due to upgrade of ImageMagick.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Nov 10, 2024
1 parent b9ab044 commit 7997bf9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/Magick.NET.Tests/Coders/TheAvifCoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ public void ShouldEncodeAndDecodeAlphaChannel()
[Fact]
public void ShouldIgnoreEmptyExifProfile()
{
using var image = new MagickImage();

var exception = Assert.Throws<MagickCorruptImageErrorException>(() => image.Read(Files.Coders.EmptyExifAVIF));
Assert.Contains("Invalid clean-aperture specification", exception.Message);
using var image = new MagickImage(Files.Coders.EmptyExifAVIF);
}
}

0 comments on commit 7997bf9

Please sign in to comment.