From 72a2f567ee7a378543ba7275dddbc2af1517f58a Mon Sep 17 00:00:00 2001 From: Jarred Allen Date: Mon, 22 May 2023 11:47:24 -0700 Subject: PR suggestions: use `skip` macro --- test/sys/test_socket.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') diff --git a/test/sys/test_socket.rs b/test/sys/test_socket.rs index b78c8c49..125edceb 100644 --- a/test/sys/test_socket.rs +++ b/test/sys/test_socket.rs @@ -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 -- cgit v1.2.3