From c20dee9d7f8b8ae46a56049895d4e7003e7b4878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 23 Mar 2016 15:05:32 +0100 Subject: [PATCH] parser: Make the constant vars ... constants --- parser/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 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 = "\n\t\n\t\n"