Skip to content

Commit 7c173c4

Browse files
committed
Fix formatting of new test
1 parent 4e95a37 commit 7c173c4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/tests/std.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ fn test_fd_cloexec() {
1010
let file = File::create("test_file_for_fd_cloexec").unwrap();
1111
let fd = file.as_raw_fd();
1212
unsafe {
13-
assert_eq!(libc::fcntl(fd, libc::F_GETFD) & libc::FD_CLOEXEC, libc::FD_CLOEXEC);
13+
assert_eq!(
14+
libc::fcntl(fd, libc::F_GETFD) & libc::FD_CLOEXEC,
15+
libc::FD_CLOEXEC
16+
);
1417
}
15-
let _ = std::fs::remove_file("test_file_for_fd_cloexec");
18+
let _ = std::fs::remove_file("test_file_for_fd_cloexec");
1619
}

0 commit comments

Comments
 (0)