From 05c8bccf84624d3905258c32c8f258bc9eb315c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 7 Feb 2016 15:56:56 +0100 Subject: [PATCH] hugolib: Add test for parseSitemap --- hugolib/sitemap_test.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hugolib/sitemap_test.go b/hugolib/sitemap_test.go index 13bc92a18..bb3eaccd2 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