diff --git a/src/main.rs b/src/main.rs index 9c0b802..9d0d437 100644 --- a/src/main.rs +++ b/src/main.rs @@ -91,14 +91,17 @@ fn run() -> Result { dir_vec.push(path_buffer); } else { - print_error(format!("Search path '{}' is not a directory.", path_buffer.to_string_lossy())); + print_error(format!( + "Search path '{}' is not a directory.", + path_buffer.to_string_lossy() + )); } } } // Check if we have no valid search paths. if dir_vec.is_empty() { - return Err(anyhow!("No valid search paths given.")); + return Err(anyhow!("No valid search paths given.")); } if matches.is_present("absolute-path") { diff --git a/tests/testenv/mod.rs b/tests/testenv/mod.rs index 18e4cf9..253d277 100644 --- a/tests/testenv/mod.rs +++ b/tests/testenv/mod.rs @@ -265,9 +265,6 @@ impl TestEnv { // Run *fd*. let output = cmd.output().expect("fd output"); - - - // Compare actual output to expected output. // Normalize both expected and actual output. let expected_error = normalize_output(expected, true, self.normalize_line); let actual_err = normalize_output(