mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
02f31897b4
commit
ab4e1dfa4e
2 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue