From 69d0db94319c7b4258d20b3e83a89cb10b0a2223 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 18 Sep 2026 21:54:16 +0200 Subject: [PATCH] Test the everyday media type extensions and the status codes a filter must not drop --- table_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/table_test.go b/table_test.go index 9772dbc..018a40d 100644 --- a/table_test.go +++ b/table_test.go @@ -679,12 +679,18 @@ func TestShippedTables(t *testing.T) { "language[sv].code3": "swe", "language[Swedish].code": "sv", "language[nl]": "Dutch", + "httpstatus[200]": "200 OK", "httpstatus[404]": "404 Not Found", "httpstatus[404].reason": "Not Found", "httpstatus[451].reason": "Unavailable For Legal Reasons", + "httpstatus[500].reason": "Internal Server Error", "mimetype[application/json].ext": ".json", "mimetype[text/markdown].ext": ".md", "mimetype[.jpg]": "image/jpeg", + "mimetype[.mov]": "video/quicktime", + "mimetype[.mp3]": "audio/mpeg", + "mimetype[.mp4]": "video/mp4", + "mimetype[.ogg]": "audio/ogg", } { if got := fake(t, f, path); got != want { t.Errorf("Fake(%q) = %q, want %q", path, got, want)