From 26cbea9e1266a23e3fc4ba8b6f5ba34b78390fca Mon Sep 17 00:00:00 2001 From: Zac Bergquist Date: Tue, 13 Oct 2015 20:23:05 -0400 Subject: [PATCH] Re-enable test I had commented out this check just to make sure the rest of the test cases were succeeding and forgot to add it back in. --- config/setup/markdown_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/setup/markdown_test.go b/config/setup/markdown_test.go index 61c5d0c1..5bf012b0 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)