fn example_org() {
        let page = get(
            &[
                "--addr",
                "[::]:1978",
                "--hostname",
                "example.com",
                "--hostname",
                "example.org",
            ],
            addr(1978),
            "gemini://example.org/",
        )
        .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.org/index.gmi"
                ))
                .unwrap()
            )
        );
    }
/// - the vhosts access the correct files
the vhosts access the correct files
the vhosts access the correct files
fn example_org() {
        let page = get(
            &[
                "--addr",
                "[::]:1978",
                "--hostname",
                "example.com",
                "--hostname",
                "example.org",
            ],
            addr(1978),
            "gemini://example.org/",
        )
        .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.org/index.gmi"
                ))
                .unwrap()
            )
        );
    }
fn example_org ( ) { let page = get ( & [ " " , " " , " " , " " , " " , " " , ] , addr ( 1978 ) , " " , ) . expect ( " " ) ; assert_eq ! ( page header status Status Success ) ; assert_eq ! ( page body Some ( std fs read_to_string ( concat ( env ( " " ) " " ) ) unwrap ( ) ) ) ; }
the vhosts access the correct files
the vhosts access the correct files