diff --git a/test/sys/test_socket.rs b/test/sys/test_socket.rs index 07ca4d3420..5adc77ed6b 100644 --- a/test/sys/test_socket.rs +++ b/test/sys/test_socket.rs @@ -1561,7 +1561,6 @@ pub fn test_unnamed_unixdomain() { let addr_1: UnixAddr = getsockname(fd_1).expect("getsockname failed"); assert!(addr_1.is_unnamed()); - assert_eq!(addr_1, UnixAddr::new_unnamed()); close(fd_1).unwrap(); close(fd_2).unwrap();