parent
71ddb3dad4
commit
06960670bd
8 changed files with 277 additions and 234 deletions
|
|
@ -43,6 +43,7 @@ use std::{
|
|||
Arc,
|
||||
},
|
||||
};
|
||||
use util::path;
|
||||
use workspace::{Workspace, WorkspaceStore};
|
||||
|
||||
#[cfg(not(target_os = "macos"))]
|
||||
|
|
@ -741,7 +742,7 @@ impl TestClient {
|
|||
pub async fn build_test_project(&self, cx: &mut TestAppContext) -> Entity<Project> {
|
||||
self.fs()
|
||||
.insert_tree(
|
||||
"/a",
|
||||
path!("/a"),
|
||||
json!({
|
||||
"1.txt": "one\none\none",
|
||||
"2.js": "function two() { return 2; }",
|
||||
|
|
@ -749,7 +750,7 @@ impl TestClient {
|
|||
}),
|
||||
)
|
||||
.await;
|
||||
self.build_local_project("/a", cx).await.0
|
||||
self.build_local_project(path!("/a"), cx).await.0
|
||||
}
|
||||
|
||||
pub async fn host_workspace(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue