Start work on an integration test for following
This commit is contained in:
parent
845457e2c4
commit
5702737de2
2 changed files with 177 additions and 7 deletions
|
@ -825,11 +825,11 @@ impl Workspace {
|
|||
|
||||
pub fn open_path(
|
||||
&mut self,
|
||||
path: ProjectPath,
|
||||
path: impl Into<ProjectPath>,
|
||||
cx: &mut ViewContext<Self>,
|
||||
) -> Task<Result<Box<dyn ItemHandle>, Arc<anyhow::Error>>> {
|
||||
let pane = self.active_pane().downgrade();
|
||||
let task = self.load_path(path, cx);
|
||||
let task = self.load_path(path.into(), cx);
|
||||
cx.spawn(|this, mut cx| async move {
|
||||
let (project_entry_id, build_item) = task.await?;
|
||||
let pane = pane
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue