Fix test_peers_following_each_other for Windows (#28008)

Release Notes:

- N/A
This commit is contained in:
张小白 2025-04-03 15:47:33 +08:00 committed by GitHub
parent cd85b430e4
commit 9abfbdff43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -674,7 +674,7 @@ async fn test_peers_following_each_other(cx_a: &mut TestAppContext, cx_b: &mut T
client_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