Skip to content

Commit

Permalink
PR suggestions: use skip macro
Browse files Browse the repository at this point in the history
  • Loading branch information
JarredAllen committed May 22, 2023
1 parent c80828e commit 72a2f56
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/sys/test_socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ pub fn test_recvmsg_sockaddr_un() {
MsgFlags::empty(),
Some(&sockaddr),
) {
print!("Couldn't send ({e:?}), so skipping test");
return;
crate::skip!("Couldn't send ({e:?}), so skipping test");
}

// Receive the message
Expand Down

0 comments on commit 72a2f56

Please sign in to comment.