Skip to content

Commit 7997bf9

Browse files
committed
Changes to unit test due to upgrade of ImageMagick.
1 parent b9ab044 commit 7997bf9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/Magick.NET.Tests/Coders/TheAvifCoder.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public void ShouldEncodeAndDecodeAlphaChannel()
3030
[Fact]
3131
public void ShouldIgnoreEmptyExifProfile()
3232
{
33-
using var image = new MagickImage();
34-
35-
var exception = Assert.Throws<MagickCorruptImageErrorException>(() => image.Read(Files.Coders.EmptyExifAVIF));
36-
Assert.Contains("Invalid clean-aperture specification", exception.Message);
33+
using var image = new MagickImage(Files.Coders.EmptyExifAVIF);
3734
}
3835
}

0 commit comments

Comments
 (0)