mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
parent
02f31897b4
commit
ab4e1dfa4e
2 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue