Skip to content

Commit 7e73cd4

Browse files
committed
Fix test names regarding ip version
1 parent 7f7cfae commit 7e73cd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/net/udp.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -896,15 +896,15 @@ mod tests {
896896
}
897897

898898
#[test]
899-
fn socket_name_ip4() {
899+
fn socket_name() {
900900
each_ip(&mut |addr, _| {
901901
let server = t!(UdpSocket::bind(&addr));
902902
assert_eq!(addr, t!(server.local_addr()));
903903
})
904904
}
905905

906906
#[test]
907-
fn socket_peer_ip4() {
907+
fn socket_peer() {
908908
each_ip(&mut |addr1, addr2| {
909909
let server = t!(UdpSocket::bind(&addr1));
910910
assert_eq!(server.peer_addr().unwrap_err().kind(), ErrorKind::NotConnected);

0 commit comments

Comments
 (0)