mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 06:30:33 +03:00
Gofmt
Command: `gofmt -l -s -w .`
This commit is contained in:
parent
1abc2f0b86
commit
6da23f7449
8 changed files with 30 additions and 32 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue