diff --git a/fuzz/fuzz_targets/fuzz_write.rs b/fuzz/fuzz_targets/fuzz_write.rs index 7cd51ab5..66ea9714 100755 --- a/fuzz/fuzz_targets/fuzz_write.rs +++ b/fuzz/fuzz_targets/fuzz_write.rs @@ -196,10 +196,10 @@ where match operation.reopen { ReopenOption::DoNotReopen => {}, ReopenOption::ViaFinish => replace_with_or_abort(writer, |old_writer: zip::ZipWriter| { - zip::ZipWriter::new_append(old_writer.finish()?)? + zip::ZipWriter::new_append(old_writer.finish().unwrap()).unwrap() }), ReopenOption::ViaFinishIntoReadable => replace_with_or_abort(writer, |old_writer: zip::ZipWriter| { - zip::ZipWriter::new_append(old_writer.finish_into_readable()?.into_inner())? + zip::ZipWriter::new_append(old_writer.finish_into_readable().unwrap().into_inner()).unwrap() }), } assert_eq!(&old_comment, writer.get_raw_comment());