12 lines
417 B
Rust
12 lines
417 B
Rust
#[cfg(all(unix, feature = "_deflate-any"))]
|
|
#[test]
|
|
fn repro_old423() -> zip::result::ZipResult<()> {
|
|
use std::io;
|
|
use tempdir::TempDir;
|
|
use zip::ZipArchive;
|
|
|
|
let mut v = Vec::new();
|
|
v.extend_from_slice(include_bytes!("data/lin-ub_iwd-v11.zip"));
|
|
let mut archive = ZipArchive::new(io::Cursor::new(v)).expect("couldn't open test zip file");
|
|
archive.extract(TempDir::new("repro_old423")?)
|
|
}
|