diff --git a/tests/test_igzip.py b/tests/test_igzip.py index 4f0e44f3..0cddfaa5 100644 --- a/tests/test_igzip.py +++ b/tests/test_igzip.py @@ -534,6 +534,26 @@ def headers(): yield header + crc.to_bytes(2, "little") +@pytest.mark.parametrize("header", list(headers())) +def test_decompress_header(header): + data = b"hello world" * 100 + compressed = (header + isal_zlib.compress(data, wbits=-15) + + struct.pack("