diff --git a/src/main.rs b/src/main.rs index f80743c..243b8c6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -55,8 +55,9 @@ fn main() { } if let Err(e) = env::set_current_dir(basedir) { print_error_and_exit!( - "Could not set '{}' as the current working directory: {}", - basedir.to_string_lossy(), e + "Could not set '{}' as the current working directory: {}", + basedir.to_string_lossy(), + e ); } } diff --git a/tests/tests.rs b/tests/tests.rs index 08c453a..9548082 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1408,7 +1408,7 @@ fn test_base_directory() { two/three/d.foo two/three/directory_foo", ); - + te.assert_output( &["--base-directory", "one/two", "foo"], "c.foo @@ -1441,5 +1441,4 @@ fn test_base_directory() { abs_path = &abs_path ), ); - }