Merge "Fix authority parsing test" am: 8ce3609e58 am: becdd58df5

am: 598b2497b3

Change-Id: Ic32fceebd7936b779efed954dcd0745b1207f7ff
This commit is contained in:
Adam Vartanian
2019-02-19 02:04:16 -08:00
committed by android-build-merger

View File

@@ -182,8 +182,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());