Merge "Fix authority parsing test"

This commit is contained in:
Adam Vartanian
2019-02-19 09:27:35 +00:00
committed by Gerrit Code Review

View File

@@ -181,8 +181,7 @@ public class UriTest extends TestCase {
uri = Uri.parse("http://bob%40lee%3ajr@local%68ost:4%32");
assertEquals("bob@lee:jr", uri.getUserInfo());
assertEquals("localhost", uri.getHost());
assertEquals(42, uri.getPort());
assertEquals("localhost:42", uri.getHost());
uri = Uri.parse("http://localhost");
assertEquals("localhost", uri.getHost());