mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
async file io
This commit is contained in:
@@ -32,7 +32,9 @@ pub(crate) async fn test_context(callback: Option<Box<ContextCallback>>) -> Test
|
||||
Some(cb) => cb,
|
||||
None => Box::new(|_, _| ()),
|
||||
};
|
||||
let ctx = Context::new(cb, "FakeOs".into(), dbfile).await.unwrap();
|
||||
let ctx = Context::new(cb, "FakeOs".into(), dbfile.into())
|
||||
.await
|
||||
.unwrap();
|
||||
TestContext { ctx, dir }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user