mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-27 18:24:57 +00:00
\t
This commit is contained in:
parent
57c647fee5
commit
0b30864f10
@ -37,7 +37,7 @@ impl Dir {
|
||||
/// entries, so if the user wants to see them, we’ll 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()))
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user