This commit is contained in:
Chris Hennick 2023-05-13 14:02:34 -07:00
parent 4faebb4468
commit bf0ad491c0
No known key found for this signature in database
GPG key ID: 25653935CC8B6C74

View file

@ -18,7 +18,7 @@ fn generate_random_archive(count_files: usize, file_size: usize) -> Vec<u8> {
for i in 0..count_files {
let name = format!("file_deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef_{i}.dat");
writer.start_file(name, options).unwrap();
writer.start_file(name, options.clone()).unwrap();
writer.write_all(&bytes).unwrap();
}