Remove extra assertion

Conrad Irwin created

As part of debugging the port of following tests we added an assertion
that the project was dropped. Now that we initialize the editor and
handle focus correctly in tests, the project is retained by
`refresh_document_highlights`. That doesn't affect the meaning of the
tests

Change summary

crates/collab/src/tests/following_tests.rs | 2 --
1 file changed, 2 deletions(-)

Detailed changes

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();