summaryrefslogtreecommitdiffstats
path: root/hugolib/rss_test.go
diff options
context:
space:
mode:
authorCaleb Spare <cespare@gmail.com>2013-11-24 13:48:57 -0800
committerspf13 <steve.francia@gmail.com>2013-12-16 17:40:10 -0500
commit6da23f7449366e7699e406adb3334e71ffd1e70e (patch)
treebf529be0961c8dd20fee68ed1ba53ec714c8b86c /hugolib/rss_test.go
parent1abc2f0b8663a3082c509157952bb756bcd38f92 (diff)
Gofmt
Command: `gofmt -l -s -w .`
Diffstat (limited to 'hugolib/rss_test.go')
-rw-r--r--hugolib/rss_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/rss_test.go b/hugolib/rss_test.go
index b4c9e01d7..1d6f95b56 100644
--- a/hugolib/rss_test.go
+++ b/hugolib/rss_test.go
@@ -1,10 +1,10 @@
package hugolib
import (
- "testing"
"bytes"
"github.com/spf13/hugo/source"
"github.com/spf13/hugo/target"
+ "testing"
)
const RSS_TEMPLATE = `<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
@@ -39,7 +39,7 @@ func TestRSSOutput(t *testing.T) {
s.initializeSiteInfo()
s.prepTemplates()
// Add an rss.xml template to invoke the rss build.
- s.addTemplate("rss.xml", RSS_TEMPLATE)
+ s.addTemplate("rss.xml", RSS_TEMPLATE)
if err := s.CreatePages(); err != nil {
t.Fatalf("Unable to create pages: %s", err)