Share new worktrees when resharing project
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
585c23e9f6
commit
8487ae77e7
5 changed files with 54 additions and 70 deletions
|
@ -290,10 +290,11 @@ async fn test_random_collaboration(
|
|||
assert_eq!(
|
||||
guest_snapshot.entries(false).collect::<Vec<_>>(),
|
||||
host_snapshot.entries(false).collect::<Vec<_>>(),
|
||||
"{} has different snapshot than the host for worktree {} ({:?})",
|
||||
"{} has different snapshot than the host for worktree {} ({:?}) and project {:?}",
|
||||
client.username,
|
||||
id,
|
||||
host_snapshot.abs_path()
|
||||
host_snapshot.abs_path(),
|
||||
host_project.read_with(host_cx, |project, _| project.remote_id())
|
||||
);
|
||||
assert_eq!(guest_snapshot.scan_id(), host_snapshot.scan_id());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue