File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
library/std/src/sys/unix/ext/net Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ fn test_send_vectored_fds_unix_stream() {
487
487
libc:: close ( fd_vec[ 0 ] ) ;
488
488
}
489
489
} else {
490
- assert ! ( false ) ;
490
+ unreachable ! ( "must be ScmRights" ) ;
491
491
}
492
492
}
493
493
@@ -553,7 +553,7 @@ fn test_send_vectored_with_ancillary_to_unix_datagram() {
553
553
assert_eq ! ( cred1. get_uid( ) , cred_vec[ 0 ] . get_uid( ) ) ;
554
554
assert_eq ! ( cred1. get_gid( ) , cred_vec[ 0 ] . get_gid( ) ) ;
555
555
} else {
556
- assert ! ( false ) ;
556
+ unreachable ! ( "must be ScmCredentials" ) ;
557
557
}
558
558
}
559
559
@@ -598,6 +598,6 @@ fn test_send_vectored_with_ancillary_unix_datagram() {
598
598
libc:: close ( fd_vec[ 0 ] ) ;
599
599
}
600
600
} else {
601
- assert ! ( false ) ;
601
+ unreachable ! ( "must be ScmRights" ) ;
602
602
}
603
603
}
You can’t perform that action at this time.
0 commit comments