MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_parse_proxy_url_socks5

Function test_parse_proxy_url_socks5

core/src/tools/builtin/web_search.rs:585–589  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

parse_proxy_urlFunction · 0.85

Tested by

no test coverage detected