From 5edec6dc312d666027a05fa9439fcfd8101ec6ac Mon Sep 17 00:00:00 2001 From: Ildar Khayrutdinov Date: Thu, 22 Oct 2020 16:27:59 +0300 Subject: [PATCH] Lzw test fix. --- .../Formats/Tiff/Compression/LzwTiffCompressionTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ImageSharp.Tests/Formats/Tiff/Compression/LzwTiffCompressionTests.cs b/tests/ImageSharp.Tests/Formats/Tiff/Compression/LzwTiffCompressionTests.cs index df9208434..a26f0b117 100644 --- a/tests/ImageSharp.Tests/Formats/Tiff/Compression/LzwTiffCompressionTests.cs +++ b/tests/ImageSharp.Tests/Formats/Tiff/Compression/LzwTiffCompressionTests.cs @@ -22,7 +22,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Tiff { byte[] buffer = new byte[data.Length]; - new LzwTiffCompression(null).Decompress(stream, (int)stream.Length, buffer); + new LzwTiffCompression(Configuration.Default.MemoryAllocator).Decompress(stream, (int)stream.Length, buffer); Assert.Equal(data, buffer); }