aboutsummaryrefslogtreecommitdiff
path: root/src/remote/git.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/git.rs')
-rw-r--r--src/remote/git.rs12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/remote/git.rs b/src/remote/git.rs
index d15e002..556bed4 100644
--- a/src/remote/git.rs
+++ b/src/remote/git.rs
@@ -170,7 +170,11 @@ mod tests {
git.sync_up(&remote_dir_as_string, &local_dir)
.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(&remote_dir_as_string, "file2.txt", "I also exist now, btw");
+ assert_file_in_repo_with_contents(
+ &remote_dir_as_string,
+ "file2.txt",
+ "I also exist now, btw",
+ );
}
#[test]
@@ -233,7 +237,11 @@ mod tests {
assert_file_contents(&local_dir.join("file1.txt"), "I exist, but remotely");
assert!(!&local_dir.join("file2.txt").exists());
- commit_file_to_remote(&remote_dir_as_string, "file2.txt", "I also exist, but remotely");
+ commit_file_to_remote(
+ &remote_dir_as_string,
+ "file2.txt",
+ "I also exist, but remotely",
+ );
assert!(!&local_dir.join("file2.txt").exists());
git.sync_down(&remote_dir_as_string, &local_dir)
.expect("Could not sync down from remote");