Skip to content

Commit 72a2f56

Browse files
committed
PR suggestions: use skip macro
1 parent c80828e commit 72a2f56

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/sys/test_socket.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,7 @@ pub fn test_recvmsg_sockaddr_un() {
229229
MsgFlags::empty(),
230230
Some(&sockaddr),
231231
) {
232-
print!("Couldn't send ({e:?}), so skipping test");
233-
return;
232+
crate::skip!("Couldn't send ({e:?}), so skipping test");
234233
}
235234

236235
// Receive the message

0 commit comments

Comments
 (0)