diff --git a/config/setup/markdown_test.go b/config/setup/markdown_test.go index 61c5d0c11..5bf012b08 100644 --- a/config/setup/markdown_test.go +++ b/config/setup/markdown_test.go @@ -106,9 +106,9 @@ func TestMarkdownStaticGen(t *testing.T) { `) - // TODO: html contains Windows line endings, expectedBody doesn't... + if !bytes.Equal(html, expectedBody) { - //t.Fatalf("Expected file content: %s got: %s", string(expectedBody), string(html)) + t.Fatalf("Expected file content: %s got: %s", string(expectedBody), string(html)) } fp := filepath.Join(c.Root, markdown.DefaultStaticDir)