[libsoup/gnome-3-30] tld-test: update after changes in the public-suffix list



commit 3555fa272966219b201e7c4461bf4fb7aeae2d50
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Mon Oct 22 19:05:49 2018 +0300

    tld-test: update after changes in the public-suffix list
    
    *.bn was removed from the list, so the tests using it started failing.
    Use *.bd instead as a 1-wildcard rule test domain.

 tests/tld-test.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/tld-test.c b/tests/tld-test.c
index aae563ce..93b9481c 100644
--- a/tests/tld-test.c
+++ b/tests/tld-test.c
@@ -41,10 +41,10 @@ static struct {
        { "a.b.example.uk.com", "example.uk.com", -1 },
        { "test.ac", "test.ac", -1 },
        /* TLD with only 1 (wildcard) rule. */
-       { "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 },
+       { "bd", NULL, SOUP_TLD_ERROR_NOT_ENOUGH_DOMAINS },
+       { "c.bd", NULL, SOUP_TLD_ERROR_NOT_ENOUGH_DOMAINS },
+       { "b.c.bd", "b.c.bd", -1 },
+       { "a.b.c.bd", "b.c.bd", -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]