Implement embedded HTTPS Git synchronization
This commit is contained in:
@@ -151,6 +151,10 @@ fn copy_preserves_source_and_reencrypts_for_destination_policy() -> TestResult {
|
||||
committer.changes[0].message(),
|
||||
"Copy email/personal to team/personal."
|
||||
);
|
||||
assert_eq!(
|
||||
committer.changes[0].changed_paths(),
|
||||
&[Path::new("team/personal.gpg").to_owned()]
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -365,6 +369,13 @@ fn move_writes_durable_destination_before_removing_source() -> TestResult {
|
||||
committer.changes[0].message(),
|
||||
"Rename email/personal to archive/personal."
|
||||
);
|
||||
assert_eq!(
|
||||
committer.changes[0].changed_paths(),
|
||||
&[
|
||||
Path::new("archive/personal.gpg").to_owned(),
|
||||
Path::new("email/personal.gpg").to_owned(),
|
||||
]
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user