Fix more tests
This commit is contained in:
parent
4aa2858b2b
commit
deaf60005c
1 changed files with 4 additions and 2 deletions
|
@ -1396,7 +1396,7 @@ mod tests {
|
||||||
|
|
||||||
cx.foreground().run_until_parked();
|
cx.foreground().run_until_parked();
|
||||||
workspace.read_with(cx, |workspace, _| {
|
workspace.read_with(cx, |workspace, _| {
|
||||||
assert_eq!(workspace.panes().len(), 2); //Center pane + Dock pane
|
assert_eq!(workspace.panes().len(), 1);
|
||||||
assert_eq!(workspace.active_pane(), &pane_1);
|
assert_eq!(workspace.active_pane(), &pane_1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1406,7 +1406,7 @@ mod tests {
|
||||||
cx.foreground().run_until_parked();
|
cx.foreground().run_until_parked();
|
||||||
|
|
||||||
workspace.read_with(cx, |workspace, cx| {
|
workspace.read_with(cx, |workspace, cx| {
|
||||||
assert_eq!(workspace.panes().len(), 2);
|
assert_eq!(workspace.panes().len(), 1);
|
||||||
assert!(workspace.active_item(cx).is_none());
|
assert!(workspace.active_item(cx).is_none());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2088,6 +2088,8 @@ mod tests {
|
||||||
language::init(cx);
|
language::init(cx);
|
||||||
editor::init(cx);
|
editor::init(cx);
|
||||||
pane::init(cx);
|
pane::init(cx);
|
||||||
|
project_panel::init(cx);
|
||||||
|
terminal_view::init(cx);
|
||||||
app_state
|
app_state
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue