Bug fix: can't run new test if deflate64 is disabled

This commit is contained in:
Chris Hennick 2024-03-03 18:00:05 -08:00
parent 80876aa7e4
commit f4d5ad7b49

View file

@ -1362,6 +1362,7 @@ mod test {
assert!(reader.is_err()); assert!(reader.is_err());
} }
#[cfg(feature = "deflate64")]
#[test] #[test]
fn deflate64_index_out_of_bounds() -> std::io::Result<()> { fn deflate64_index_out_of_bounds() -> std::io::Result<()> {
let file: [u8; 815] = [ let file: [u8; 815] = [