Skip to content

Commit 19170ae

Browse files
use local file
1 parent 2762ec5 commit 19170ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/fs/file.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ mod tests {
875875
#[test]
876876
fn async_file_drop() {
877877
crate::task::block_on(async move {
878-
File::open(".").await.unwrap();
878+
File::open(file!()).await.unwrap();
879879
});
880880
}
881881
}

0 commit comments

Comments
 (0)