diff options
author | Jarred Allen <jarred@moveparallel.com> | 2023-05-22 11:47:24 -0700 |
---|---|---|
committer | Jarred Allen <jarred@moveparallel.com> | 2023-05-22 11:47:24 -0700 |
commit | 72a2f567ee7a378543ba7275dddbc2af1517f58a (patch) | |
tree | 4c017e857ef42485656e82df175afecf5af18a1a /test | |
parent | c80828e9dce12c5ae49fcb9510786a1d5e96aaa3 (diff) | |
download | nix-72a2f567ee7a378543ba7275dddbc2af1517f58a.zip |
PR suggestions: use `skip` macro
Diffstat (limited to 'test')
-rw-r--r-- | test/sys/test_socket.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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 |