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

Function test_parse_proxy_url_http

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

Source from the content-addressed store, hash-verified

576
577 #[test]
578 fn test_parse_proxy_url_http() {
579 let config = parse_proxy_url("http://127.0.0.1:8080").unwrap();
580 assert_eq!(config.host, "127.0.0.1");
581 assert_eq!(config.port, 8080);
582 }
583
584 #[test]
585 fn test_parse_proxy_url_socks5() {

Callers

nothing calls this directly

Calls 1

parse_proxy_urlFunction · 0.85

Tested by

no test coverage detected