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_down.rs | |
| parent | 8b3b94a38b443c50afc5b42cca45db7c18ce280d (diff) | |
Get stricter clippy
Diffstat (limited to 'src/command/sync_down.rs')
| -rw-r--r-- | src/command/sync_down.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/sync_down.rs b/src/command/sync_down.rs index bc9d983..a95dd1a 100644 --- a/src/command/sync_down.rs +++ b/src/command/sync_down.rs @@ -74,7 +74,7 @@ mod tests { assert!(!&local_dir.join("file1.txt").exists()); assert!(!&local_dir.join("file2.txt").exists()); - let mut configuration = Configuration::new(); + let mut configuration = Configuration::new().unwrap(); configuration.data_directory = local_dir.clone(); configuration.remote_config = test_dir.join("remoteconfig"); @@ -107,7 +107,7 @@ mod tests { let test_dir = setup_test_dir(); create_test_file(&test_dir.join("remoteconfigdown"), "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"); @@ -123,7 +123,7 @@ mod tests { let test_dir = setup_test_dir(); create_test_file(&test_dir.join("remoteconfigdown"), "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"); |