mirror of
https://github.com/gohugoio/hugo.git
synced 2024-07-05 08:42:12 +00:00
hugolib: Camel-case ALL_CAPS const in test
This commit is contained in:
parent
98ee8c3f7b
commit
ddd02b2f6a
|
@ -25,7 +25,7 @@ import (
|
||||||
"github.com/spf13/viper"
|
"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{
|
var fakeSource = []source.ByteSource{
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ var fakeSource = []source.ByteSource{
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: filepath.FromSlash("alias/test/file1.md"),
|
Name: filepath.FromSlash("alias/test/file1.md"),
|
||||||
Content: []byte(ALIAS_DOC_1),
|
Content: []byte(aliasDoc1),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: filepath.FromSlash("section/somecontent.html"),
|
Name: filepath.FromSlash("section/somecontent.html"),
|
||||||
|
|
Loading…
Reference in a new issue