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/sync_up.rs | |
| parent | 8b3b94a38b443c50afc5b42cca45db7c18ce280d (diff) | |
Get stricter clippy
Diffstat (limited to 'src/command/sync_up.rs')
| -rw-r--r-- | src/command/sync_up.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/sync_up.rs b/src/command/sync_up.rs index 5761071..57c4e1c 100644 --- a/src/command/sync_up.rs +++ b/src/command/sync_up.rs @@ -70,7 +70,7 @@ mod tests { let remote_dir_as_string = remote_dir.display().to_string(); create_test_file(&test_dir.join("remoteconfig"), &remote_dir_as_string); - let mut configuration = Configuration::new(); + let mut configuration = Configuration::new().unwrap(); configuration.data_directory = local_dir.clone(); configuration.remote_config = test_dir.join("remoteconfig"); @@ -101,7 +101,7 @@ mod tests { let test_dir = setup_test_dir(); create_test_file(&test_dir.join("remoteconfig"), "DO NOT WAAANT"); - let mut configuration = Configuration::new(); + let mut configuration = Configuration::new().unwrap(); configuration.data_directory = test_dir.clone(); configuration.remote_config = test_dir.join("remoteconfig"); @@ -117,7 +117,7 @@ mod tests { let test_dir = setup_test_dir(); create_test_file(&test_dir.join("remoteconfig"), "DO NOT WAAANT"); - let mut configuration = Configuration::new(); + let mut configuration = Configuration::new().unwrap(); configuration.data_directory = test_dir.clone(); configuration.remote_config = test_dir.join("remoteconfig"); |