Remove extra assertion

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
This commit is contained in:
Conrad Irwin 2024-01-10 10:18:45 -07:00
parent 282184a673
commit 8d1bca450f

View File

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