mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-06 12:45:32 +00:00
use local file
This commit is contained in:
parent
2762ec5800
commit
19170aead4
1 changed files with 1 additions and 1 deletions
|
@ -875,7 +875,7 @@ mod tests {
|
|||
#[test]
|
||||
fn async_file_drop() {
|
||||
crate::task::block_on(async move {
|
||||
File::open(".").await.unwrap();
|
||||
File::open(file!()).await.unwrap();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue