parser: Add a test case in format resolution

See #9233
This commit is contained in:
Bjørn Erik Pedersen 2021-12-03 10:34:34 +01:00
parent b10381fbe0
commit 9a326d5636
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -50,6 +50,7 @@ func TestFormatFromMediaType(t *testing.T) {
{media.JSONType, JSON},
{media.YAMLType, YAML},
{media.XMLType, XML},
{media.RSSType, XML},
{media.TOMLType, TOML},
{media.CalendarType, ""},
} {