mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Gofmt
Command: `gofmt -l -s -w .`
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
package hugolib
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"bytes"
|
||||
"testing"
|
||||
)
|
||||
|
||||
const SITE_INFO_PARAM_TEMPLATE = `{{ .Site.Params.MyGlobalParam }}`
|
||||
|
||||
|
||||
func TestSiteInfoParams(t *testing.T) {
|
||||
s := &Site{
|
||||
Config: Config{Params: map[string]interface{}{"MyGlobalParam": "FOOBAR_PARAM"}},
|
||||
|
Reference in New Issue
Block a user