Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove extra assertion

Conrad Irwin8d1bca450faa
diff --git a/crates/collab/src/tests/following_tests.rs b/crates/collab/src/tests/following_tests.rs
index 8f6433c6680..92097603539 100644
--- a/crates/collab/src/tests/following_tests.rs
+++ b/crates/collab/src/tests/following_tests.rs
@@ -161,7 +161,6 @@ async fn test_basic_following(
.update(cx_c, |call, cx| call.set_location(Some(&project_c), cx))
.await
.unwrap();
- let weak_project_c = project_c.downgrade();
drop(project_c);
// Client C also follows client A.
@@ -248,7 +247,6 @@ async fn test_basic_following(
cx_c.cx.update(|_| {});
weak_workspace_c.assert_dropped();
- weak_project_c.assert_dropped();
// Clients A and B see that client B is following A, and client C is not present in the followers.
executor.run_until_parked();