Browse Source

re-enable skipped test

af/octree-no-pixelmap
Anton Firszov 6 years ago
parent
commit
5ade80af3a
  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> where TPixel : struct, IPixel<TPixel>
{ {
provider.LimitAllocatorBufferCapacity().InPixels(10); provider.LimitAllocatorBufferCapacity().InPixels(10);
ImageFormatException ex = Assert.Throws<ImageFormatException>(provider.GetImage); ImageFormatException ex = Assert.Throws<ImageFormatException>(() => provider.GetImage(BmpDecoder));
Assert.IsType<InvalidMemoryOperationException>(ex.InnerException); Assert.IsType<InvalidMemoryOperationException>(ex.InnerException);
} }

Loading…
Cancel
Save