aboutsummaryrefslogtreecommitdiff
path: root/tests/zip.rs
diff options
context:
space:
mode:
authorIgor Tolmachev <me@igorek.dev>2024-07-14 18:31:33 +0900
committerIgor Tolmachev <me@igorek.dev>2024-07-14 18:31:33 +0900
commit82620d64bf7d35fc456934c7175fc265df80e186 (patch)
treea96cb638c40143bc3e48258d76a052b75a76bd1d /tests/zip.rs
parentd515e20a26cc959db912504706189ad1cce9dbfa (diff)
downloadarchivator-82620d64bf7d35fc456934c7175fc265df80e186.tar.gz
archivator-82620d64bf7d35fc456934c7175fc265df80e186.zip
Tests fix
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();