From 8804a46cab2f138b981d896a4086c2957296a24f Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Sat, 27 May 2023 14:45:01 -0700 Subject: [PATCH] Fix unnecessary path qualification --- src/write.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/write.rs b/src/write.rs index eaff39d5..65c29e51 100644 --- a/src/write.rs +++ b/src/write.rs @@ -1716,7 +1716,7 @@ mod test { fn test_shallow_copy() { let mut writer = ZipWriter::new(io::Cursor::new(Vec::new()), false); let options = FileOptions { - compression_method: CompressionMethod::Deflated, + compression_method: Deflated, compression_level: Some(9), last_modified_time: DateTime::default(), permissions: Some(33188), @@ -1766,7 +1766,7 @@ mod test { fn test_deep_copy() { let mut writer = ZipWriter::new(io::Cursor::new(Vec::new()), false); let options = FileOptions { - compression_method: CompressionMethod::Deflated, + compression_method: Deflated, compression_level: Some(9), last_modified_time: DateTime::default(), permissions: Some(33188),