summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2016-09-19 11:23:31 -0400
committerDan Winship <danw@gnome.org>2016-09-19 11:23:31 -0400
commitcdaadab5c6e65eb91715c0d6533749616ec962b7 (patch)
tree376bc2f2973a113c5dbb9d79bed8fb6f114a0ace
parent26336c3b7b678cd5a72d16d38774430bb96378a2 (diff)
downloadlibsoup-cdaadab5c6e65eb91715c0d6533749616ec962b7.tar.gz
tests/tld-test: update for changed TLD rules
-rw-r--r--tests/tld-test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tld-test.c b/tests/tld-test.c
index 4fad8625..31cbb4b8 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 },