@Test
public void hostIpv6AddressTooManyDigitsInGroup() throws Exception {

    assertEquals(null, HttpUrl.parse("http://[00000:0000:0000:0000:0000:0000:0000:0001]"));
    assertEquals(null, HttpUrl.parse("http://[::00001]"));
}