We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79695ea commit ca32fe4Copy full SHA for ca32fe4
src/libstd/net/udp.rs
@@ -896,15 +896,15 @@ mod tests {
896
}
897
898
#[test]
899
- fn socket_name_ip4() {
+ fn socket_name() {
900
each_ip(&mut |addr, _| {
901
let server = t!(UdpSocket::bind(&addr));
902
assert_eq!(addr, t!(server.local_addr()));
903
})
904
905
906
907
- fn socket_peer_ip4() {
+ fn socket_peer() {
908
each_ip(&mut |addr1, addr2| {
909
let server = t!(UdpSocket::bind(&addr1));
910
assert_eq!(server.peer_addr().unwrap_err().kind(), ErrorKind::NotConnected);
0 commit comments