Browse Source

Fixed leftover pixel type constraint in test project

pull/1574/head
Sergio Pedri 6 years ago
parent
commit
3df0e2f43e
  1. 2
      tests/ImageSharp.Tests/Formats/Png/PngDecoderTests.cs

2
tests/ImageSharp.Tests/Formats/Png/PngDecoderTests.cs

@ -246,7 +246,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Png
[Theory]
[WithFile(TestImages.Png.Issue1127, PixelTypes.Rgba32)]
public void Issue1127<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : struct, IPixel<TPixel>
where TPixel : unmanaged, IPixel<TPixel>
{
System.Exception ex = Record.Exception(
() =>

Loading…
Cancel
Save