Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix `test_peers_following_each_other` for Windows (#28008)
张小白9abfbdff43fa
diff --git a/crates/collab/src/tests/following_tests.rs b/crates/collab/src/tests/following_tests.rsindex 097c63999aa..66b129c7832 100644--- a/crates/collab/src/tests/following_tests.rs+++ b/crates/collab/src/tests/following_tests.rs@@ -674,7 +674,7 @@ async fn test_peers_following_each_other(cx_a: &mut TestAppContext, cx_b: &mut Tclient_a.fs().insert_tree(- "/a",+ path!("/a"),json!({"1.txt": "one","2.txt": "two",@@ -683,7 +683,7 @@ async fn test_peers_following_each_other(cx_a: &mut TestAppContext, cx_b: &mut T}),).await;- let (project_a, worktree_id) = client_a.build_local_project("/a", cx_a).await;+ let (project_a, worktree_id) = client_a.build_local_project(path!("/a"), cx_a).await;active_call_a.update(cx_a, |call, cx| call.set_location(Some(&project_a), cx)).await