mirror of
https://github.com/xerial/snappy-java.git
synced 2025-07-22 21:44:31 +02:00
Update the expected binary size for big-endian platforms
This commit is contained in:
parent
eb25832561
commit
1afcb41368
@ -166,7 +166,7 @@ public class SnappyOutputStreamTest
|
|||||||
// Hardcoding an expected compressed size here will catch regressions that lower the
|
// Hardcoding an expected compressed size here will catch regressions that lower the
|
||||||
// compression quality:
|
// compression quality:
|
||||||
if (ByteOrder.nativeOrder() == ByteOrder.BIG_ENDIAN)
|
if (ByteOrder.nativeOrder() == ByteOrder.BIG_ENDIAN)
|
||||||
assertEquals(91080, expectedCompressedData.length);
|
assertEquals(90992, expectedCompressedData.length);
|
||||||
else
|
else
|
||||||
assertEquals(91080, expectedCompressedData.length);
|
assertEquals(91080, expectedCompressedData.length);
|
||||||
// The chunk size should not affect the size of the compressed output:
|
// The chunk size should not affect the size of the compressed output:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user