fn invalid_host_ipv6()

in azure-kusto-ingest/src/resource_manager/resource_uri.rs [199:209]


    fn invalid_host_ipv6() {
        let uri = "https://[3FFE:FFFF:0::CD30]/containerobjectname?sas=token";
        let resource_uri = ResourceUri::try_from(uri);
        println!("{:#?}", resource_uri);

        assert!(resource_uri.is_err());
        assert!(matches!(
            resource_uri.unwrap_err(),
            ResourceUriError::InvalidHost
        ));
    }