Skip to content

Commit

Permalink
test: new test requires one of the deflate features
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Apr 23, 2024
1 parent 8b6260b commit f81a5b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1448,6 +1448,12 @@ mod test {
ZipArchive::new(Cursor::new(v)).expect_err("Invalid file");
}

#[cfg(any(
feature = "deflate",
feature = "deflate-miniz",
feature = "deflate-zlib",
feature = "deflate-zlib-ng"
))]
#[test]
fn test_read_with_data_descriptor() {
let mut v = Vec::new();
Expand Down

0 comments on commit f81a5b9

Please sign in to comment.