()
| 504 | |
| 505 | #[test] |
| 506 | fn test_internal_ip_loopback() { |
| 507 | assert!(is_internal_ip(IpAddr::V4(Ipv4Addr::LOCALHOST))); |
| 508 | assert!(is_internal_ip(IpAddr::V6(Ipv6Addr::LOCALHOST))); |
| 509 | } |
| 510 | |
| 511 | #[test] |
| 512 | fn test_internal_ip_link_local() { |
nothing calls this directly
no outgoing calls
no test coverage detected