mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
hugolib: Camel-case ALL_CAPS const in test
This commit is contained in:
@@ -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"),
|
||||
|
Reference in New Issue
Block a user