Browse Source

Lzw test fix.

pull/1570/head
Ildar Khayrutdinov 5 years ago
parent
commit
5edec6dc31
  1. 2
      tests/ImageSharp.Tests/Formats/Tiff/Compression/LzwTiffCompressionTests.cs

2
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);
}

Loading…
Cancel
Save