From 5f6b6ec68936ebbbf590894c02a1a3ecad30735f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 16 Aug 2019 15:55:03 +0200 Subject: Prepare for Goldmark This commmit prepares for the addition of Goldmark as the new Markdown renderer in Hugo. This introduces a new `markup` package with some common interfaces and each implementation in its own package. See #5963 --- hugolib/site_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'hugolib/site_test.go') diff --git a/hugolib/site_test.go b/hugolib/site_test.go index 6cbcbf8d5..995664da4 100644 --- a/hugolib/site_test.go +++ b/hugolib/site_test.go @@ -1018,6 +1018,7 @@ func TestRefLinking(t *testing.T) { } func checkLinkCase(site *Site, link string, currentPage page.Page, relative bool, outputFormat string, expected string, t *testing.T, i int) { + t.Helper() if out, err := site.refLink(link, currentPage, relative, outputFormat); err != nil || out != expected { t.Fatalf("[%d] Expected %q from %q to resolve to %q, got %q - error: %s", i, link, currentPage.Path(), expected, out, err) } -- cgit v1.2.3