feat(push): add object when pushing directory

This commit is contained in:
grimhilt
2024-03-11 14:16:41 +01:00
parent 3207391fdb
commit d5891a1a93
7 changed files with 29 additions and 13 deletions

View File

@@ -128,6 +128,9 @@ mod push_tests {
// tests
assert!(server.has_file("file1", "foo"));
assert!(server.has_file("dir/file2", "bar"));
let (staged, not_staged) = client.get_status();
assert!(staged.len() == 0);
assert!(not_staged.len() == 0);
client.clean();
server.clean();