Browse Source

Move more tests around for consistency

master
J. King 4 years ago
parent
commit
ddfe5f5caa
  1. 11
      tests/cases/mime-groups.json

11
tests/cases/mime-groups.json

@ -1,13 +1,10 @@
[
{"input": "image/png", "groups": ["image"]},
{"input": "x/x", "groups": []},
{"input": "image/x", "groups": ["image"]},
{"input": "audio/mp4", "groups": ["audio or video"]},
{"input": "video/mpeg", "groups": ["audio or video"]},
{"input": "audio/x", "groups": ["audio or video"]},
{"input": "video/x", "groups": ["audio or video"]},
{"input": "application/ogg", "groups": ["audio or video"]},
{"input": "application/ogg;x=x", "groups": ["audio or video"]},
{"input": "font/woff", "groups": ["font"]},
{"input": "font/x", "groups": ["font"]},
{"input": "application/font-cff", "groups": ["font"]},
{"input": "application/font-cff;x=x", "groups": ["font"]},
@ -89,8 +86,6 @@
{"input": "application/json;x=x", "groups": ["JSON"]},
{"input": "text/json", "groups": ["JSON"]},
{"input": "text/json;x=x", "groups": ["JSON"]},
"Sanity check",
{"input": "x/x", "groups": []},
{"input": "x/x;type=image", "groups": []},
{"input": "x/x;type=audio", "groups": []},
{"input": "x/x;type=video", "groups": []},
@ -144,6 +139,10 @@
{"input": "x+json/x", "groups": []},
{"input": "x/x;x=x+json", "groups": []},
{"input": "x/x;subtype=x+json", "groups": []},
{"input": "image/png", "groups": ["image"]},
{"input": "audio/mp4", "groups": ["audio or video"]},
{"input": "video/mpeg", "groups": ["audio or video"]},
{"input": "font/woff", "groups": ["font"]},
"SVG is both image and XML, thus also scriptable",
{"input": "image/svg+xml", "groups": ["image", "XML", "scriptable"]},
"Hypothetical SVG font type",

Loading…
Cancel
Save