From f610d45cd85b622d89e1e4112e20bb8307761bf1 Mon Sep 17 00:00:00 2001 From: Noah Campbell Date: Sun, 11 Aug 2013 21:03:04 -0700 Subject: [PATCH] Add additional details to date test cases. --- hugolib/page_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugolib/page_test.go b/hugolib/page_test.go index bac3a95e6..3e6db411b 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -247,7 +247,8 @@ func TestParsingDateInFrontMatter(t *testing.T) { t.Fatalf("Expected to be able to parse page.") } if !dt.Equal(p.Date) { - t.Errorf("Date does not equal frontmatter:\n%s\nGot: %s. Diff: %s", test.buf, p.Date, dt.Sub(p.Date)) + //if dt != p.Date { + t.Errorf("Date does not equal frontmatter:\n%s\nExpecting: %s\n Got: %s. Diff: %s\n internal: %#v\n %#v", test.buf, dt, p.Date, dt.Sub(p.Date), dt, p.Date) } } }