From 13fe3f7e30b396e1a186e36e4e8d8e3faefec5c5 Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Tue, 11 Feb 2020 01:04:09 +0100 Subject: [PATCH] fix my bug in Encode_WorksWithDiscontiguousBuffers --- tests/ImageSharp.Tests/Formats/Bmp/BmpEncoderTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ImageSharp.Tests/Formats/Bmp/BmpEncoderTests.cs b/tests/ImageSharp.Tests/Formats/Bmp/BmpEncoderTests.cs index 1788943b2..7f9736530 100644 --- a/tests/ImageSharp.Tests/Formats/Bmp/BmpEncoderTests.cs +++ b/tests/ImageSharp.Tests/Formats/Bmp/BmpEncoderTests.cs @@ -246,7 +246,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Bmp public void Encode_WorksWithDiscontiguousBuffers(TestImageProvider provider, BmpBitsPerPixel bitsPerPixel) where TPixel : struct, IPixel { - provider.LimitAllocatorBufferCapacity(); + provider.LimitAllocatorBufferCapacity().InBytes(100); TestBmpEncoderCore(provider, bitsPerPixel); }