diff --git a/src/fs.rs b/src/fs.rs index cdf80fd..837a550 100644 --- a/src/fs.rs +++ b/src/fs.rs @@ -211,13 +211,13 @@ mod tests { #[test] fn file_len() { - let file = RefCell::new(File::open("ext2.bin").unwrap()); + let file = RefCell::new(File::open("ext2.img").unwrap()); assert_eq!(unsafe { file.slice_unchecked(1024..2048).len() }, 1024); } #[test] fn file() { - let file = RefCell::new(File::open("ext2.bin").unwrap()); + let file = RefCell::new(File::open("ext2.img").unwrap()); let fs = Ext2::new(file); assert!( @@ -235,7 +235,7 @@ mod tests { #[test] fn inodes() { - let file = RefCell::new(File::open("ext2.bin").unwrap()); + let file = RefCell::new(File::open("ext2.img").unwrap()); let fs = Ext2::new(file); assert!( diff --git a/src/sys/superblock.rs b/src/sys/superblock.rs index e1ab61d..77cb82a 100644 --- a/src/sys/superblock.rs +++ b/src/sys/superblock.rs @@ -313,7 +313,7 @@ mod tests { use std::cell::RefCell; use std::fs::File; - let file = RefCell::new(File::open("ext2.bin").unwrap()); + let file = RefCell::new(File::open("ext2.img").unwrap()); let superblock = unsafe { Superblock::find(&file) }; assert!( superblock.is_ok(),