fixed one failing test
This commit is contained in:
parent
df59b28aaf
commit
fa8bac9714
3 changed files with 12 additions and 2 deletions
|
@ -1228,7 +1228,7 @@ mod tests {
|
|||
|
||||
cx.foreground().run_until_parked();
|
||||
workspace.read_with(cx, |workspace, _| {
|
||||
assert_eq!(workspace.panes().len(), 1);
|
||||
assert_eq!(workspace.panes().len(), 2); //Center pane + Dock pane
|
||||
assert_eq!(workspace.active_pane(), &pane_1);
|
||||
});
|
||||
|
||||
|
@ -1238,6 +1238,7 @@ mod tests {
|
|||
cx.foreground().run_until_parked();
|
||||
|
||||
workspace.read_with(cx, |workspace, cx| {
|
||||
assert_eq!(workspace.panes().len(), 2);
|
||||
assert!(workspace.active_item(cx).is_none());
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue