Fix warnings/errors now that AsyncAppContext::update
returns Result
This commit is contained in:
parent
31e6bb4fc1
commit
d03c431f9a
33 changed files with 494 additions and 371 deletions
|
@ -6115,7 +6115,8 @@ async fn test_basic_following(
|
|||
.update(cx_a, |workspace, cx| {
|
||||
workspace::Pane::go_back(workspace, None, cx)
|
||||
})
|
||||
.await;
|
||||
.await
|
||||
.unwrap();
|
||||
deterministic.run_until_parked();
|
||||
workspace_b.read_with(cx_b, |workspace, cx| {
|
||||
assert_eq!(workspace.active_item(cx).unwrap().id(), editor_b1.id());
|
||||
|
@ -6125,7 +6126,8 @@ async fn test_basic_following(
|
|||
.update(cx_a, |workspace, cx| {
|
||||
workspace::Pane::go_back(workspace, None, cx)
|
||||
})
|
||||
.await;
|
||||
.await
|
||||
.unwrap();
|
||||
deterministic.run_until_parked();
|
||||
workspace_b.read_with(cx_b, |workspace, cx| {
|
||||
assert_eq!(workspace.active_item(cx).unwrap().id(), editor_b2.id());
|
||||
|
@ -6135,7 +6137,8 @@ async fn test_basic_following(
|
|||
.update(cx_a, |workspace, cx| {
|
||||
workspace::Pane::go_forward(workspace, None, cx)
|
||||
})
|
||||
.await;
|
||||
.await
|
||||
.unwrap();
|
||||
deterministic.run_until_parked();
|
||||
workspace_b.read_with(cx_b, |workspace, cx| {
|
||||
assert_eq!(workspace.active_item(cx).unwrap().id(), editor_b1.id());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue