Test the ISO 639, IANA status and media type registers the misc tables should hold

This commit is contained in:
2026-09-18 21:44:48 +02:00
parent cddf81e6a5
commit 3e1d3914c2
2 changed files with 8 additions and 1 deletions
+6
View File
@@ -676,9 +676,15 @@ func TestShippedTables(t *testing.T) {
"currency[SEK].decimals": "2",
"currency[Euro].code": "EUR",
"language[sv]": "Swedish",
"language[sv].code3": "swe",
"language[Swedish].code": "sv",
"language[nl]": "Dutch",
"httpstatus[404]": "404 Not Found",
"httpstatus[404].reason": "Not Found",
"httpstatus[451].reason": "Unavailable For Legal Reasons",
"mimetype[application/json].ext": ".json",
"mimetype[text/markdown].ext": ".md",
"mimetype[.jpg]": "image/jpeg",
} {
if got := fake(t, f, path); got != want {
t.Errorf("Fake(%q) = %q, want %q", path, got, want)