From ddfe5f5caaff2fe2ba49f53988e5617b6325729b Mon Sep 17 00:00:00 2001 From: "J. King" Date: Mon, 20 Apr 2020 09:23:05 -0400 Subject: [PATCH] Move more tests around for consistency --- tests/cases/mime-groups.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/cases/mime-groups.json b/tests/cases/mime-groups.json index db799da..7af21ea 100644 --- a/tests/cases/mime-groups.json +++ b/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",