From d0f582b98712d967b2f95d0405886d063bd89468 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 6 Apr 2025 00:57:56 +0200 Subject: Get stricter clippy --- src/command/add_remote.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/command/add_remote.rs') diff --git a/src/command/add_remote.rs b/src/command/add_remote.rs index a40b184..aa3f745 100644 --- a/src/command/add_remote.rs +++ b/src/command/add_remote.rs @@ -61,7 +61,7 @@ mod tests { let remote_config = test_dir.join("blogremote"); assert!(!remote_config.exists()); - let mut configuration = Configuration::new(); + let mut configuration = Configuration::new().unwrap(); configuration.config_directory = test_dir.clone(); configuration.remote_config = remote_config.clone(); add_remote @@ -74,7 +74,7 @@ mod tests { #[test] fn test_fails_if_no_remote_sent() { let add_remote = AddRemote::new(); - let configuration = Configuration::new(); + let configuration = Configuration::new().unwrap(); let result = add_remote.execute(None, &configuration, "add_remote"); assert!(result.is_err()); } -- cgit