From 328c6640be2ed3ba7adc800065b6cf2703dcd693 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Wed, 1 Jan 2020 12:04:58 +0100 Subject: [PATCH] Formatting --- src/main.rs | 5 +++-- tests/tests.rs | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 ), ); - }