diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 3e9e985e2..814556c6c 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -718,11 +718,11 @@ func TestPageWithDelimiterForMarkdownThatCrossesBorder(t *testing.T) { p := s.RegularPages[0] - if p.Summary != template.HTML("

The best static site generator.1\n

") { + if p.Summary != template.HTML("

The best static site generator.1\n

") { t.Fatalf("Got summary:\n%q", p.Summary) } - if p.Content != template.HTML("

The best static site generator.1\n

\n
\n\n
\n\n
    \n
  1. Many people say so.\n [return]
  2. \n
\n
") { + if p.Content != template.HTML("

The best static site generator.1\n

\n
\n\n
\n\n
    \n
  1. Many people say so.\n [return]
  2. \n
\n
") { t.Fatalf("Got content:\n%q", p.Content) } }