From ddd02b2f6ad6535d898531f9677875e061f123ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 7 Apr 2016 15:22:41 +0200 Subject: [PATCH] hugolib: Camel-case ALL_CAPS const in test --- hugolib/site_show_plan_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugolib/site_show_plan_test.go b/hugolib/site_show_plan_test.go index 707e469f6..2c9112533 100644 --- 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"),