aboutsummaryrefslogtreecommitdiffhomepage
path: root/output
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2021-06-18 13:15:00 +0200
committerBjørn Erik Pedersen <[email protected]>2021-06-18 13:15:00 +0200
commitab4e1dfa4eebe0ac18f1d1f60a9647cbb7b41d7f (patch)
tree0b61c68290e480a6743a6b3df00e30acf9136d9e /output
parent02f31897b4f7252154850a65c900e88e0b237fa3 (diff)
downloadhugo-ab4e1dfa4eebe0ac18f1d1f60a9647cbb7b41d7f.tar.gz
hugo-ab4e1dfa4eebe0ac18f1d1f60a9647cbb7b41d7f.zip
media: Adjust test assertion
Closes #8625
Diffstat (limited to 'output')
-rw-r--r--output/outputFormat_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/output/outputFormat_test.go b/output/outputFormat_test.go
index 806998866..fc45099f3 100644
--- a/output/outputFormat_test.go
+++ b/output/outputFormat_test.go
@@ -67,6 +67,9 @@ func TestDefaultTypes(t *testing.T) {
c.Assert(RSSFormat.IsPlainText, qt.Equals, false)
c.Assert(RSSFormat.NoUgly, qt.Equals, true)
c.Assert(CalendarFormat.IsHTML, qt.Equals, false)
+
+ c.Assert(len(DefaultFormats), qt.Equals, 10)
+
}
func TestGetFormatByName(t *testing.T) {