File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
library/std/src/os/unix/net Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -415,8 +415,8 @@ fn test_unix_datagram_timeout_zero_duration() {
415
415
#[ test]
416
416
fn abstract_socket_addr_debug ( ) {
417
417
assert_eq ! (
418
- r#""\0 \x01\x02\x03\x04\x05\x06\x07\x08\t\n\x11\x12\r\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f \x7f\x80\x81\xfe\xff" (abstract)"# ,
419
- format!( "{:?}" , SocketAddr :: from_abstract_name( b"\0 \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \t \n \x11 \x12 \r \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d \x1e \x1f \x7f \x80 \x81 \xfe \xff " ) . unwrap( ) ) ,
418
+ r#""\0hello world \x01\x02\x03\x04\x05\x06\x07\x08\t\n\x11\x12\r\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f \x7f\x80\x81\xfe\xff" (abstract)"# ,
419
+ format!( "{:?}" , SocketAddr :: from_abstract_name( b"\0 hello world \x01 \x02 \x03 \x04 \x05 \x06 \x07 \x08 \t \n \x11 \x12 \r \x14 \x15 \x16 \x17 \x18 \x19 \x1a \x1b \x1c \x1d \x1e \x1f \x7f \x80 \x81 \xfe \xff " ) . unwrap( ) ) ,
420
420
) ;
421
421
}
422
422
You can’t perform that action at this time.
0 commit comments