Formatting

This commit is contained in:
sharkdp 2020-01-01 12:04:58 +01:00
parent c001dd47a7
commit 328c6640be
2 changed files with 4 additions and 4 deletions

View File

@ -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
); );
} }
} }

View File

@ -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
), ),
); );
} }