mirror of
https://github.com/xerial/snappy-java.git
synced 2025-04-08 19:35:08 +02:00
Merge pull request #159 from odaira/myWork
Update the expected binary size for big-endian platforms
This commit is contained in:
commit
18d429e646
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user