summaryrefslogtreecommitdiffstats
path: root/helpers/content_test.go
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2016-03-21 15:16:39 +0800
committerAnthony Fok <foka@debian.org>2016-03-21 15:17:37 +0800
commitd45b55bdd405ae019c065bc6fa0888c25f7952c9 (patch)
treecb8c0b672baa5b8a3127c648a4841d223e7a79fa /helpers/content_test.go
parentbec1ac7b3308d84add3574cea3ebab491ffb2eb6 (diff)
helpers: Rename getMmarkHtmlRenderer to getMmarkHTMLRenderer
To be consistent with the changes made in commit 67df33f, see #959.
Diffstat (limited to 'helpers/content_test.go')
-rw-r--r--helpers/content_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/content_test.go b/helpers/content_test.go
index d16f1d660..a89b4992e 100644
--- a/helpers/content_test.go
+++ b/helpers/content_test.go
@@ -194,12 +194,12 @@ func TestGetHTMLRendererAnchors(t *testing.T) {
}
}
-func TestGetMmarkHtmlRenderer(t *testing.T) {
+func TestGetMmarkHTMLRenderer(t *testing.T) {
ctx := &RenderingContext{}
ctx.DocumentID = "testid"
ctx.Config = ctx.getConfig()
ctx.Config.PlainIDAnchors = false
- actualRenderer := getMmarkHtmlRenderer(0, ctx)
+ actualRenderer := getMmarkHTMLRenderer(0, ctx)
headerBuffer := &bytes.Buffer{}
footnoteBuffer := &bytes.Buffer{}