Merge pull request #159 from odaira/myWork

Update the expected binary size for big-endian platforms
This commit is contained in:
Taro L. Saito 2017-01-27 14:28:50 -08:00 committed by GitHub
commit 18d429e646

View File

@ -166,7 +166,7 @@ public class SnappyOutputStreamTest
// Hardcoding an expected compressed size here will catch regressions that lower the
// compression quality:
if (ByteOrder.nativeOrder() == ByteOrder.BIG_ENDIAN)
assertEquals(91080, expectedCompressedData.length);
assertEquals(90992, expectedCompressedData.length);
else
assertEquals(91080, expectedCompressedData.length);
// The chunk size should not affect the size of the compressed output: