diff options
author | Fabrizio (Misto) Milo <mistobaan@gmail.com> | 2013-08-31 17:35:17 -0700 |
---|---|---|
committer | Noah Campbell <noahcampbell@gmail.com> | 2013-09-01 19:51:27 -0700 |
commit | ee5865f239786f354c6d3f14bf14bcb5890a6c22 (patch) | |
tree | 6c7187939efc2fe7cd9c2724bff76aeedc0250a7 /hugolib/page_test.go | |
parent | 0a9dc705f315ea2344ee4edc7f2394973c931711 (diff) |
Abstract html/template dependency
Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
Diffstat (limited to 'hugolib/page_test.go')
-rw-r--r-- | hugolib/page_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) } } |