Update the expected binary size for big-endian platforms

This commit is contained in:
Rei Odaira 2017-01-27 13:41:36 -06:00
parent eb25832561
commit 1afcb41368

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: