ci(fuzz): Fix build errors
This commit is contained in:
parent
f3bb677511
commit
6abe26d757
1 changed files with 2 additions and 2 deletions
|
@ -196,10 +196,10 @@ where
|
||||||
match operation.reopen {
|
match operation.reopen {
|
||||||
ReopenOption::DoNotReopen => {},
|
ReopenOption::DoNotReopen => {},
|
||||||
ReopenOption::ViaFinish => replace_with_or_abort(writer, |old_writer: zip::ZipWriter<T>| {
|
ReopenOption::ViaFinish => replace_with_or_abort(writer, |old_writer: zip::ZipWriter<T>| {
|
||||||
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<T>| {
|
ReopenOption::ViaFinishIntoReadable => replace_with_or_abort(writer, |old_writer: zip::ZipWriter<T>| {
|
||||||
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());
|
assert_eq!(&old_comment, writer.get_raw_comment());
|
||||||
|
|
Loading…
Add table
Reference in a new issue