Skip to content

Commit f9c9c6d

Browse files
committed
Rename dual stack test
1 parent 5ddda11 commit f9c9c6d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/rust/wasm32-wasip3/src/bin/sockets-tcp-bind.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ fn test_non_unicast(family: IpAddressFamily) {
138138
}
139139
}
140140

141-
fn test_dual_stack_support() {
141+
fn test_reject_dual_stack() {
142142
let sock = TcpSocket::create(IpAddressFamily::Ipv6).unwrap();
143143
let addr = IpSocketAddress::ipv6_mapped_localhost(0);
144144
let result = sock.bind(addr);
@@ -240,7 +240,7 @@ impl exports::wasi::cli::run::Guest for Component {
240240
test_ephemeral_port_assignment(IpAddressFamily::Ipv6);
241241
test_non_unicast(IpAddressFamily::Ipv4);
242242
test_non_unicast(IpAddressFamily::Ipv6);
243-
test_dual_stack_support();
243+
test_reject_dual_stack();
244244
test_bind_addrinuse(IpAddressFamily::Ipv4);
245245
test_bind_addrinuse(IpAddressFamily::Ipv6);
246246
test_not_bindable(IpAddressFamily::Ipv4);

0 commit comments

Comments
 (0)