Browse Source

re-enable skipped test

pull/1109/head
Anton Firszov 6 years ago
parent
commit
edb60a898f
  1. 2
      tests/ImageSharp.Tests/Formats/Bmp/BmpDecoderTests.cs

2
tests/ImageSharp.Tests/Formats/Bmp/BmpDecoderTests.cs

@ -77,7 +77,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Bmp
where TPixel : struct, IPixel<TPixel>
{
provider.LimitAllocatorBufferCapacity().InPixels(10);
ImageFormatException ex = Assert.Throws<ImageFormatException>(provider.GetImage);
ImageFormatException ex = Assert.Throws<ImageFormatException>(() => provider.GetImage(BmpDecoder));
Assert.IsType<InvalidMemoryOperationException>(ex.InnerException);
}

Loading…
Cancel
Save