Skip to content

Commit 7b8ad3a

Browse files
committed
Cleanup cfg attributes in tests
1 parent 7234537 commit 7b8ad3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/socket.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,10 +1183,10 @@ test!(IPv4 recv_tos, set_recv_tos(true));
11831183
test!(IPv4 broadcast, set_broadcast(true));
11841184

11851185
test!(IPv6 unicast_hops_v6, set_unicast_hops_v6(20));
1186-
#[cfg(not(any(windows, any(target_os = "dragonfly", target_os = "freebsd"))))]
1186+
#[cfg(not(any(windows, target_os = "dragonfly", target_os = "freebsd")))]
11871187
test!(IPv6 only_v6, set_only_v6(true));
11881188
// IPv6 socket are already IPv6 only on FreeBSD and Windows.
1189-
#[cfg(any(windows, any(target_os = "freebsd")))]
1189+
#[cfg(any(windows, target_os = "freebsd"))]
11901190
test!(IPv6 only_v6, set_only_v6(false));
11911191

11921192
#[cfg(all(

0 commit comments

Comments
 (0)