aboutsummaryrefslogtreecommitdiff
path: root/src/command/sync_up.rs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-02-06 00:38:49 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2025-02-06 00:38:49 +0100
commitea6b6305f9e23f68eb73a8b94f301380cc91acd7 (patch)
tree44bce918d00259ea4861dff6157e49a23d41d0ad /src/command/sync_up.rs
parent3526b4905b4c09462a555c92b9f75b2d6749c314 (diff)
format
Diffstat (limited to 'src/command/sync_up.rs')
-rw-r--r--src/command/sync_up.rs6
1 files changed, 4 insertions, 2 deletions
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(