hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit c20dee9d7f8b8ae46a56049895d4e7003e7b4878
parent bf76e744321c7a51f546a09df0af2c009ff0d779
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Wed, 23 Mar 2016 15:05:32 +0100

parser: Make the constant vars ... constants

Diffstat:
Mparser/parse_frontmatter_test.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parser/parse_frontmatter_test.go b/parser/parse_frontmatter_test.go
@@ -25,7 +25,7 @@ import (
 	"testing"
 )
 
-var (
+const (
 	contentNoFrontmatter                 = "a page with no front matter"
 	contentWithFrontmatter               = "---\ntitle: front matter\n---\nContent with front matter"
 	contentHTMLNoDoctype                 = "<html>\n\t<body>\n\t</body>\n</html>"