mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
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:
parent
282184a673
commit
8d1bca450f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user