diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-06 00:57:56 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-06 00:57:56 +0200 |
| commit | d0f582b98712d967b2f95d0405886d063bd89468 (patch) | |
| tree | cc644c21278d336772557366bcdd3e46b22065db /src/command/add_remote.rs | |
| parent | 8b3b94a38b443c50afc5b42cca45db7c18ce280d (diff) | |
Get stricter clippy
Diffstat (limited to 'src/command/add_remote.rs')
| -rw-r--r-- | src/command/add_remote.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } |