media: Adjust test assertion

Closes #8625
This commit is contained in:
Bjørn Erik Pedersen 2021-06-18 13:15:00 +02:00
parent 02f31897b4
commit ab4e1dfa4e
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
2 changed files with 4 additions and 1 deletions

View file

@ -56,7 +56,7 @@ func TestDefaultTypes(t *testing.T) {
}
c.Assert(len(DefaultTypes), qt.Equals, 27)
c.Assert(len(DefaultTypes), qt.Equals, 28)
}
func TestGetByType(t *testing.T) {

View file

@ -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) {