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"