diff options
author | Bjørn Erik Pedersen <[email protected]> | 2021-12-03 10:34:34 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-12-03 10:34:34 +0100 |
commit | 9a326d5636951ee79ec930ec15c173704b0531d8 (patch) | |
tree | 69de1602cb3a9b652490eca61ce8cd4fb1782ae6 /parser | |
parent | b10381fbe0512a4c2081f7aa5ec97bd74c9f5c50 (diff) | |
download | hugo-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.go | 1 |
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, ""}, } { |