From: Bjørn Erik Pedersen Date: Sun, 7 Feb 2016 14:56:56 +0000 (+0100) Subject: hugolib: Add test for parseSitemap X-Git-Tag: v0.16~347 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=05c8bccf84624d3905258c32c8f258bc9eb315c5;p=brevno-suite%2Fhugo hugolib: Add test for parseSitemap --- diff --git a/hugolib/sitemap_test.go b/hugolib/sitemap_test.go index 13bc92a1..bb3eaccd 100644 --- a/hugolib/sitemap_test.go +++ b/hugolib/sitemap_test.go @@ -22,6 +22,7 @@ import ( "github.com/spf13/hugo/hugofs" "github.com/spf13/hugo/source" "github.com/spf13/viper" + "reflect" ) const SITEMAP_TEMPLATE = ` @@ -83,3 +84,19 @@ func TestSitemapOutput(t *testing.T) { t.Errorf("Sitemap file should start with