hugolib: Camel-case ALL_CAPS const in test

This commit is contained in:
Bjørn Erik Pedersen 2016-04-07 15:22:41 +02:00
parent 98ee8c3f7b
commit ddd02b2f6a

View file

@ -25,7 +25,7 @@ import (
"github.com/spf13/viper"
)
const ALIAS_DOC_1 = "---\ntitle: alias doc\naliases:\n - \"alias1/\"\n - \"alias-2/\"\n---\naliases\n"
const aliasDoc1 = "---\ntitle: alias doc\naliases:\n - \"alias1/\"\n - \"alias-2/\"\n---\naliases\n"
var fakeSource = []source.ByteSource{
{
@ -34,7 +34,7 @@ var fakeSource = []source.ByteSource{
},
{
Name: filepath.FromSlash("alias/test/file1.md"),
Content: []byte(ALIAS_DOC_1),
Content: []byte(aliasDoc1),
},
{
Name: filepath.FromSlash("section/somecontent.html"),