commit ddd02b2f6ad6535d898531f9677875e061f123ff
parent 98ee8c3f7bd849da9b562da8c2fbe998561ef2cf
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Thu, 7 Apr 2016 15:22:41 +0200
hugolib: Camel-case ALL_CAPS const in test
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hugolib/site_show_plan_test.go b/hugolib/site_show_plan_test.go
@@ -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"),