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

        assert_eq!(page.header.status, Status::Success);

        assert_eq!(
            page.body,
            Some(
                std::fs::read_to_string(concat!(
                    env!("CARGO_MANIFEST_DIR"),
                    "/tests/data/content/example.com/index.gmi"
                ))
                .unwrap()
            )
        );
    }
/// - simple vhosts are enabled when multiple hostnames are supplied
/// - the vhosts access the correct files
simple vhosts are enabled when multiple hostnames are supplied
the vhosts access the correct files
simple vhosts are enabled when multiple hostnames are supplied the vhosts access the correct files
fn example_com() {
        let page = get(
            &[
                "--addr",
                "[::]:1977",
                "--hostname",
                "example.com",
                "--hostname",
                "example.org",
            ],
            addr(1977),
            "gemini://example.com/",
        )
        .expect("could not get page");
        assert_eq!(page.header.status, Status::Success);
        assert_eq!(
            page.body,
            Some(
                std::fs::read_to_string(concat!(
                    env!("CARGO_MANIFEST_DIR"),
                    "/tests/data/content/example.com/index.gmi"
                ))
                .unwrap()
            )
        );
    }
fn example_com ( ) { let page = get ( & [ " " , " " , " " , " " , " " , " " , ] , addr ( 1977 ) , " " , ) . expect ( " " ) ; assert_eq ! ( page header status Status Success ) ; assert_eq ! ( page body Some ( std fs read_to_string ( concat ( env ( " " ) " " ) ) unwrap ( ) ) ) ; }
simple vhosts are enabled when multiple hostnames are supplied
 the vhosts access the correct files
simple vhosts are enabled when multiple hostnames are supplied the vhosts access the correct files