[libsoup] tests/tld-test: update for changed TLD rules



commit cdaadab5c6e65eb91715c0d6533749616ec962b7
Author: Dan Winship <danw gnome org>
Date:   Mon Sep 19 11:23:31 2016 -0400

    tests/tld-test: update for changed TLD rules

 tests/tld-test.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/tld-test.c b/tests/tld-test.c
index 4fad862..31cbb4b 100644
--- a/tests/tld-test.c
+++ b/tests/tld-test.c
@@ -38,10 +38,10 @@ static struct {
        { "a.b.example.uk.com", "example.uk.com", -1 },
        { "test.ac", "test.ac", -1 },
        /* TLD with only 1 (wildcard) rule. */
-       { "cy", NULL, SOUP_TLD_ERROR_NOT_ENOUGH_DOMAINS },
-       { "c.cy", NULL, SOUP_TLD_ERROR_NOT_ENOUGH_DOMAINS },
-       { "b.c.cy", "b.c.cy", -1 },
-       { "a.b.c.cy", "b.c.cy", -1 },
+       { "bn", NULL, SOUP_TLD_ERROR_NOT_ENOUGH_DOMAINS },
+       { "c.bn", NULL, SOUP_TLD_ERROR_NOT_ENOUGH_DOMAINS },
+       { "b.c.bn", "b.c.bn", -1 },
+       { "a.b.c.bn", "b.c.bn", -1 },
        /* More complex TLD. */
        { "jp", NULL, SOUP_TLD_ERROR_NOT_ENOUGH_DOMAINS },
        { "test.jp", "test.jp", -1 },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]