From ea6b6305f9e23f68eb73a8b94f301380cc91acd7 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 6 Feb 2025 00:38:49 +0100 Subject: format --- src/command/sync_up.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/command') diff --git a/src/command/sync_up.rs b/src/command/sync_up.rs index 14ba070..5761071 100644 --- a/src/command/sync_up.rs +++ b/src/command/sync_up.rs @@ -75,13 +75,15 @@ mod tests { configuration.remote_config = test_dir.join("remoteconfig"); create_test_file(&local_dir.join("file1.txt"), "I exist"); - sync_up.execute(None, &configuration, "sync-up") + sync_up + .execute(None, &configuration, "sync-up") .expect("Could not sync up to remote"); assert_file_in_repo_with_contents(&remote_dir_as_string, "file1.txt", "I exist"); assert_file_in_repo_does_not_exist(&remote_dir_as_string, "file2.txt"); create_test_file(&local_dir.join("file2.txt"), "I also exist now, btw"); - sync_up.execute(None, &configuration, "sync-up") + sync_up + .execute(None, &configuration, "sync-up") .expect("Could not sync up to remote"); assert_file_in_repo_with_contents(&remote_dir_as_string, "file1.txt", "I exist"); assert_file_in_repo_with_contents( -- cgit