()
| 583 | |
| 584 | #[test] |
| 585 | fn test_parse_proxy_url_socks5() { |
| 586 | let config = parse_proxy_url("socks5://proxy.example.com:1080").unwrap(); |
| 587 | assert_eq!(config.host, "proxy.example.com"); |
| 588 | assert_eq!(config.port, 1080); |
| 589 | } |
| 590 | |
| 591 | #[test] |
| 592 | fn test_parse_proxy_url_no_port() { |
nothing calls this directly
no test coverage detected