Skip to content

Commit 6c94020

Browse files
author
The Miri Cronjob Bot
committed
fmt
1 parent 1300e46 commit 6c94020

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/tools/miri/tests/pass-dep/libc/libc-fs-symlink.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ fn test_readlink() {
4848

4949
// Test that we report a proper error for a missing path.
5050
let res = unsafe {
51-
libc::readlink(c"MIRI_MISSING_FILE_NAME".as_ptr(), small_buf.as_mut_ptr().cast(), small_buf.len())
51+
libc::readlink(
52+
c"MIRI_MISSING_FILE_NAME".as_ptr(),
53+
small_buf.as_mut_ptr().cast(),
54+
small_buf.len(),
55+
)
5256
};
5357
assert_eq!(res, -1);
5458
assert_eq!(Error::last_os_error().kind(), ErrorKind::NotFound);

0 commit comments

Comments
 (0)