Lock down test platform implementation
This commit is contained in:
parent
017661818d
commit
4184686e8d
9 changed files with 20 additions and 33 deletions
|
@ -875,7 +875,7 @@ mod tests {
|
|||
let window = cx.update(|cx| cx.windows()[0].downcast::<Workspace>().unwrap());
|
||||
|
||||
let window_is_edited = |window: WindowHandle<Workspace>, cx: &mut TestAppContext| {
|
||||
cx.test_window(window.into()).edited()
|
||||
cx.update(|cx| window.read(cx).unwrap().is_edited())
|
||||
};
|
||||
let pane = window
|
||||
.read_with(cx, |workspace, _| workspace.active_pane().clone())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue