Get tests compiling returning WindowHandle<V: View> from add_window
This commit is contained in:
parent
60e190e500
commit
884cee6dfd
24 changed files with 726 additions and 578 deletions
|
@ -1070,7 +1070,9 @@ mod tests {
|
|||
});
|
||||
|
||||
let project = Project::test(params.fs.clone(), [], cx).await;
|
||||
let (_, workspace) = cx.add_window(|cx| Workspace::test_new(project.clone(), cx));
|
||||
let workspace = cx
|
||||
.add_window(|cx| Workspace::test_new(project.clone(), cx))
|
||||
.detach(cx);
|
||||
|
||||
(project, workspace)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue