Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-03-23 17:05:32 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-03-23 17:05:32 +0300
commitc20dee9d7f8b8ae46a56049895d4e7003e7b4878 (patch)
tree9c1ced8a27a2d048180124d0a96fe6d30868fb16 /parser
parentbf76e744321c7a51f546a09df0af2c009ff0d779 (diff)
parser: Make the constant vars ... constants
Diffstat (limited to 'parser')
-rw-r--r--parser/parse_frontmatter_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/parse_frontmatter_test.go b/parser/parse_frontmatter_test.go
index cbf6c1bc5..bb30eb1c4 100644
--- 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>"