diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-03-23 17:05:32 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-03-23 17:05:32 +0300 |
commit | c20dee9d7f8b8ae46a56049895d4e7003e7b4878 (patch) | |
tree | 9c1ced8a27a2d048180124d0a96fe6d30868fb16 /parser | |
parent | bf76e744321c7a51f546a09df0af2c009ff0d779 (diff) |
parser: Make the constant vars ... constants
Diffstat (limited to 'parser')
-rw-r--r-- | parser/parse_frontmatter_test.go | 2 |
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>" |