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

Commit da2c2d18 authored by Aashna Jena's avatar Aashna Jena Committed by Gerrit Code Review
Browse files

Merge "Update IANA_TOP_LEVEL_DOMAINS in accordance with...

Merge "Update IANA_TOP_LEVEL_DOMAINS in accordance with http://data.iana.org/TLD/tlds-alpha-by-domain.txt" into main
parents 6a6e615f b633b2fb
Loading
Loading
Loading
Loading
+158 −112

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -399,7 +399,7 @@ public class PatternsTest extends TestCase {
    @SmallTest
    public void testAutoLinkWebUrl_doesNotMatchUrlsWithoutProtocolAndWithUnknownTld()
            throws Exception {
        String url = "thank.you";
        String url = "thank.unknowntld";
        assertFalse("Should not match URL that does not start with a protocol and " +
                "does not contain a known TLD",
                Patterns.AUTOLINK_WEB_URL.matcher(url).matches());
@@ -422,7 +422,7 @@ public class PatternsTest extends TestCase {
    @SmallTest
    public void testAutoLinkWebUrl_doesNotMatchUrlsWithEmojiWithoutProtocolAndWithoutKnownTld()
            throws Exception {
        String url = "Thank\u263A.you";
        String url = "Thank\u263A.unknowntld";
        assertFalse("Should not match URLs containing emoji and with unknown TLD",
                Patterns.AUTOLINK_WEB_URL.matcher(url).matches());
    }