fn invalid_host_ipv4()

in azure-kusto-ingest/src/resource_manager/resource_uri.rs [187:196]


    fn invalid_host_ipv4() {
        let uri = "https://127.0.0.1/containerobjectname?sas=token";
        let resource_uri = ResourceUri::try_from(uri);

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