From ee5865f239786f354c6d3f14bf14bcb5890a6c22 Mon Sep 17 00:00:00 2001 From: "Fabrizio (Misto) Milo" Date: Sat, 31 Aug 2013 17:35:17 -0700 Subject: Abstract html/template dependency Signed-off-by: Noah Campbell --- hugolib/page_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hugolib/page_test.go') diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 4ffda4461..0c61a703f 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -142,13 +142,13 @@ func checkPageTitle(t *testing.T, page *Page, title string) { } func checkPageContent(t *testing.T, page *Page, content string) { - if page.Content != template.HTML(content) { + if page.Content != HTML(content) { t.Fatalf("Page content is: %s. Expected %s", page.Content, content) } } func checkPageSummary(t *testing.T, page *Page, summary string) { - if page.Summary != template.HTML(summary) { + if page.Summary != HTML(summary) { t.Fatalf("Page summary is: `%s`. Expected `%s`", page.Summary, summary) } } -- cgit v1.2.3