forked from mirror/async-std
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]
|
#[test]
|
||||||
fn async_file_drop() {
|
fn async_file_drop() {
|
||||||
crate::task::block_on(async move {
|
crate::task::block_on(async move {
|
||||||
File::open(".").await.unwrap();
|
File::open(file!()).await.unwrap();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue