rename `ext2.bin` to `ext2.img`

pull/3/head
Szymon Walter 2018-03-20 10:03:09 +01:00
parent e456764a20
commit 5cfa684c03
2 changed files with 4 additions and 4 deletions

View File

@ -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!(

View File

@ -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(),