aboutsummaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-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(