aboutsummaryrefslogtreecommitdiff
path: root/tests/zip.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/zip.rs')
-rw-r--r--tests/zip.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/zip.rs b/tests/zip.rs
index 1e919d3..11435aa 100644
--- a/tests/zip.rs
+++ b/tests/zip.rs
@@ -3,7 +3,7 @@ use std::io::{Read, Seek, SeekFrom};
3 3
4#[test] 4#[test]
5fn test_zip() { 5fn test_zip() {
6 let mut archive = Archive::<Zip<_>>::read_from_file("tests/files/archive.zip").unwrap(); 6 let mut archive = Archive::<Zip>::read_from_file("tests/files/archive.zip").unwrap();
7 7
8 assert_eq!(archive.comment(), "archive comment"); 8 assert_eq!(archive.comment(), "archive comment");
9 assert_eq!( 9 assert_eq!(
@@ -12,7 +12,7 @@ fn test_zip() {
12 .iter() 12 .iter()
13 .map(|f| &f.name) 13 .map(|f| &f.name)
14 .collect::<Vec<&String>>(), 14 .collect::<Vec<&String>>(),
15 vec!["bzip", "deflate", "lzma", "store", "xz", "zstd"] 15 vec!["store", "deflate", "bzip", "lzma", "zstd", "xz"]
16 ); 16 );
17 17
18 let mut f = archive.get_file_reader_by_name("store").unwrap(); 18 let mut f = archive.get_file_reader_by_name("store").unwrap();