summaryrefslogtreecommitdiff
path: root/test/sys/test_socket.rs
diff options
context:
space:
mode:
authorJarred Allen <jarred@moveparallel.com>2023-05-22 11:47:24 -0700
committerJarred Allen <jarred@moveparallel.com>2023-05-22 11:47:24 -0700
commit72a2f567ee7a378543ba7275dddbc2af1517f58a (patch)
tree4c017e857ef42485656e82df175afecf5af18a1a /test/sys/test_socket.rs
parentc80828e9dce12c5ae49fcb9510786a1d5e96aaa3 (diff)
downloadnix-72a2f567ee7a378543ba7275dddbc2af1517f58a.zip
PR suggestions: use `skip` macro
Diffstat (limited to 'test/sys/test_socket.rs')
-rw-r--r--test/sys/test_socket.rs3
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