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/sync_up.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/command/sync_up.rs') 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"); -- cgit