Expect misc.timezone weighted so a territory's populous zones win the draw

This commit is contained in:
2026-09-18 23:33:52 +02:00
parent 85d4760cde
commit 710b6b0261
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -108,6 +108,7 @@ func TestShippedMiscReferenceData(t *testing.T) {
"timezone": regexp.MustCompile(`^[A-Za-z]+(/[A-Za-z0-9_+-]+)+$`),
"timezone.offset": regexp.MustCompile(`^[+-](0\d|1[0-4]):[0-5]\d$`),
"timezone.territory": regexp.MustCompile(`^[A-Z]{2}$`),
"timezone.weight": regexp.MustCompile(`^[1-9]\d*$`),
"mimetype": regexp.MustCompile(`^[a-z]+/[a-z0-9.+-]+$`),
"mimetype.ext": regexp.MustCompile(`^\.[a-z0-9_-]+$`),
"httpstatus": regexp.MustCompile(`^[1-5]\d{2} \S.*$`),