aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-12-03 10:34:34 +0100
committerBjørn Erik Pedersen <[email protected]>2021-12-03 10:34:34 +0100
commit9a326d5636951ee79ec930ec15c173704b0531d8 (patch)
tree69de1602cb3a9b652490eca61ce8cd4fb1782ae6 /parser
parentb10381fbe0512a4c2081f7aa5ec97bd74c9f5c50 (diff)
downloadhugo-9a326d5636951ee79ec930ec15c173704b0531d8.tar.gz
hugo-9a326d5636951ee79ec930ec15c173704b0531d8.zip
parser: Add a test case in format resolution
See #9233
Diffstat (limited to 'parser')
-rw-r--r--parser/metadecoders/format_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser/metadecoders/format_test.go b/parser/metadecoders/format_test.go
index 0d94cf67e..d45b8c52c 100644
--- a/parser/metadecoders/format_test.go
+++ b/parser/metadecoders/format_test.go
@@ -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, ""},
} {