mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
hugolib: Camel-case ALL_CAPS const in test
This commit is contained in:
parent
98ee8c3f7b
commit
ddd02b2f6a
1 changed files with 2 additions and 2 deletions
|
@ -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"),
|
||||
|
|
Loading…
Reference in a new issue