test: fix a failing unit test

This commit is contained in:
Chris Hennick 2024-06-15 15:33:15 -07:00
parent 58b982c99e
commit 16aa9bcddf
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -2870,8 +2870,7 @@ mod test {
alignment: 65535, alignment: 65535,
..Default::default() ..Default::default()
}; };
writer.add_directory_from_path("", options)?; assert!(writer.add_directory_from_path("", options).is_err());
let _ = writer.finish_into_readable()?;
Ok(()) Ok(())
} }