ref: ddd02b2f6ad6535d898531f9677875e061f123ff
parent: 98ee8c3f7bd849da9b562da8c2fbe998561ef2cf
author: Bjørn Erik Pedersen <[email protected]>
date: Thu Apr 7 11:22:41 EDT 2016
hugolib: Camel-case ALL_CAPS const in test
--- a/hugolib/site_show_plan_test.go
+++ b/hugolib/site_show_plan_test.go
@@ -25,7 +25,7 @@
"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 @@
},
{
Name: filepath.FromSlash("alias/test/file1.md"),
- Content: []byte(ALIAS_DOC_1),
+ Content: []byte(aliasDoc1),
},
{
Name: filepath.FromSlash("section/somecontent.html"),