Convert some project tests to use FakeFs
Also, tweak some FakeFs methods to make them slightly more convenient.
This commit is contained in:
@@ -7760,8 +7760,8 @@ mod tests {
|
||||
"
|
||||
.unindent();
|
||||
|
||||
let fs = Arc::new(FakeFs::new(cx.background().clone()));
|
||||
fs.insert_file("/file", text).await.unwrap();
|
||||
let fs = FakeFs::new(cx.background().clone());
|
||||
fs.insert_file("/file", text).await;
|
||||
|
||||
let project = Project::test(fs, &mut cx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user