This commit is contained in:
Benjamin Sago 2017-08-20 18:14:40 +01:00
parent 57c647fee5
commit 0b30864f10
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ impl Dir {
/// entries, so if the user wants to see them, well have to add them
/// ourselves after the files have been read.
pub fn read_dir(path: PathBuf, git: bool) -> IOResult<Dir> {
info!("Reading directory {:?}", &path);
info!("Reading directory {:?}", &path);
let contents: Vec<PathBuf> = try!(fs::read_dir(&path)?
.map(|result| result.map(|entry| entry.path()))

View File

@ -128,7 +128,7 @@ pub mod test {
#[test]
fn file_bytes() {
let mut colours = Colours::default();
colours.size.numbers = Blue.on(Red);
colours.size.numbers = Blue.on(Red);
let directory = f::Size::Some(1048576);
let expected = TextCell {