Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit becdd58d authored by Adam Vartanian's avatar Adam Vartanian Committed by android-build-merger
Browse files

Merge "Fix authority parsing test"

am: 8ce3609e

Change-Id: I8554fddceb326c52b85b34a483b3e3791abf2cdc
parents 0f174795 8ce3609e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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());