Fix unnecessary path qualification
This commit is contained in:
parent
b3988b2aec
commit
8804a46cab
1 changed files with 2 additions and 2 deletions
|
@ -1716,7 +1716,7 @@ mod test {
|
||||||
fn test_shallow_copy() {
|
fn test_shallow_copy() {
|
||||||
let mut writer = ZipWriter::new(io::Cursor::new(Vec::new()), false);
|
let mut writer = ZipWriter::new(io::Cursor::new(Vec::new()), false);
|
||||||
let options = FileOptions {
|
let options = FileOptions {
|
||||||
compression_method: CompressionMethod::Deflated,
|
compression_method: Deflated,
|
||||||
compression_level: Some(9),
|
compression_level: Some(9),
|
||||||
last_modified_time: DateTime::default(),
|
last_modified_time: DateTime::default(),
|
||||||
permissions: Some(33188),
|
permissions: Some(33188),
|
||||||
|
@ -1766,7 +1766,7 @@ mod test {
|
||||||
fn test_deep_copy() {
|
fn test_deep_copy() {
|
||||||
let mut writer = ZipWriter::new(io::Cursor::new(Vec::new()), false);
|
let mut writer = ZipWriter::new(io::Cursor::new(Vec::new()), false);
|
||||||
let options = FileOptions {
|
let options = FileOptions {
|
||||||
compression_method: CompressionMethod::Deflated,
|
compression_method: Deflated,
|
||||||
compression_level: Some(9),
|
compression_level: Some(9),
|
||||||
last_modified_time: DateTime::default(),
|
last_modified_time: DateTime::default(),
|
||||||
permissions: Some(33188),
|
permissions: Some(33188),
|
||||||
|
|
Loading…
Add table
Reference in a new issue