fn port_check() {
    let page = get(
        &["--addr", "[::]:1972", "--hostname", "example.org"],
        addr(1972),
        "gemini://example.org:1971/",
    )
    .expect("could not get page");

    assert_eq!(page.header.status, Status::ProxyRequestRefused);
}
/// - port is checked when hostname is provided
/// - status for wrong port is "proxy request refused"
port is checked when hostname is provided
status for wrong port is "proxy request refused"
port is checked when hostname is provided status for wrong port is " proxy request refused "
fn port_check() {
    let page = get(
        &["--addr", "[::]:1972", "--hostname", "example.org"],
        addr(1972),
        "gemini://example.org:1971/",
    )
    .expect("could not get page");
    assert_eq!(page.header.status, Status::ProxyRequestRefused);
}
fn port_check ( ) { let page = get ( & [ " " , " " , " " , " " ] , addr ( 1972 ) , " " , ) . expect ( " " ) ; assert_eq ! ( page header status Status ProxyRequestRefused ) ; }
port is checked when hostname is provided
 status for wrong port is "proxy request refused"
port is checked when hostname is provided status for wrong port is " proxy request refused "