Merge pull request #1870 from zed-industries/fix-remote-abs-paths

Fix bug where absolute paths of worktrees were not being stored on the server
This commit is contained in:
Antonio Scandurra 2022-11-11 15:28:17 +00:00 committed by GitHub
commit a6198c9a1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 109 additions and 14 deletions

View file

@ -5579,6 +5579,13 @@ async fn test_random_collaboration(
guest_client.username,
id
);
assert_eq!(
guest_snapshot.abs_path(),
host_snapshot.abs_path(),
"{} has different abs path than the host for worktree {}",
guest_client.username,
id
);
assert_eq!(
guest_snapshot.entries(false).collect::<Vec<_>>(),
host_snapshot.entries(false).collect::<Vec<_>>(),