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 25f1f76..e5872c5 100644
--- a/tests/zip.rs
+++ b/tests/zip.rs
@@ -12,10 +12,10 @@ 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!["a", "b", "c"] 15 vec!["b", "c", "a"]
16 ); 16 );
17 17
18 let mut f = archive.get_file_reader("a").unwrap(); 18 let mut f = archive.get_file_reader(2).unwrap();
19 19
20 let mut data = String::new(); 20 let mut data = String::new();
21 f.read_to_string(&mut data).unwrap(); 21 f.read_to_string(&mut data).unwrap();