浏览代码

publicsuffix: update tests

Update the test cases to reflect the updated
test_psl.txt found on http://publicsuffix.org.

R=nigeltao
CC=golang-dev
https://golang.org/cl/15720044
Volker Dobler 12 年之前
父节点
当前提交
a9bbf44c11
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      publicsuffix/list_test.go

+ 6 - 6
publicsuffix/list_test.go

@@ -376,12 +376,12 @@ var eTLDPlusOneTestCases = []struct {
 	{"city.kobe.jp", "city.kobe.jp"},
 	{"www.city.kobe.jp", "city.kobe.jp"},
 	// TLD with a wildcard rule and exceptions.
-	{"om", ""},
-	{"test.om", ""},
-	{"b.test.om", "b.test.om"},
-	{"a.b.test.om", "b.test.om"},
-	{"songfest.om", "songfest.om"},
-	{"www.songfest.om", "songfest.om"},
+	{"ck", ""},
+	{"test.ck", ""},
+	{"b.test.ck", "b.test.ck"},
+	{"a.b.test.ck", "b.test.ck"},
+	{"www.ck", "www.ck"},
+	{"www.www.ck", "www.ck"},
 	// US K12.
 	{"us", ""},
 	{"test.us", "test.us"},