Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-09-08 18:58:59 +02:00
co-authored by Max Brunsfeld
parent a3bbf71390
commit 900010160f
5 changed files with 182 additions and 81 deletions
+1 -1
View File
@@ -1469,7 +1469,7 @@ mod tests {
.await;
// Drop client B's connection and ensure client A observes client B leaving the worktree.
client_b.disconnect().await.unwrap();
client_b.disconnect(&cx_b.to_async()).await.unwrap();
worktree_a
.condition(&cx_a, |tree, _| tree.peers().len() == 0)
.await;