mirror of https://github.com/sharkdp/fd.git
Formatting
This commit is contained in:
parent
c001dd47a7
commit
328c6640be
|
@ -55,8 +55,9 @@ fn main() {
|
||||||
}
|
}
|
||||||
if let Err(e) = env::set_current_dir(basedir) {
|
if let Err(e) = env::set_current_dir(basedir) {
|
||||||
print_error_and_exit!(
|
print_error_and_exit!(
|
||||||
"Could not set '{}' as the current working directory: {}",
|
"Could not set '{}' as the current working directory: {}",
|
||||||
basedir.to_string_lossy(), e
|
basedir.to_string_lossy(),
|
||||||
|
e
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1408,7 +1408,7 @@ fn test_base_directory() {
|
||||||
two/three/d.foo
|
two/three/d.foo
|
||||||
two/three/directory_foo",
|
two/three/directory_foo",
|
||||||
);
|
);
|
||||||
|
|
||||||
te.assert_output(
|
te.assert_output(
|
||||||
&["--base-directory", "one/two", "foo"],
|
&["--base-directory", "one/two", "foo"],
|
||||||
"c.foo
|
"c.foo
|
||||||
|
@ -1441,5 +1441,4 @@ fn test_base_directory() {
|
||||||
abs_path = &abs_path
|
abs_path = &abs_path
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue