test: fix uring test

This commit is contained in:
Rob Ede 2024-06-07 17:15:47 +01:00
parent b6677d50c9
commit 7878cbc956
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ fn tokio_uring_arbiter() {
let f = tokio_uring::fs::File::create("test.txt").await.unwrap();
let buf = b"Hello World!";
let (res, _) = f.write_at(&buf[..], 0).await;
let (res, _) = f.write_all_at(&buf[..], 0).await;
assert!(res.is_ok());
f.sync_all().await.unwrap();