diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2015-12-18 09:54:46 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2015-12-18 11:24:35 +0100 |
commit | 8cea4288028ea49906a9163fb7e862d77fa4f123 (patch) | |
tree | c19bcb289d7ede6ee1c3c70c0f925bb5a53fa6f5 /hugolib/site_test.go | |
parent | 0c01fef3213e1aad1f8901c8822d47c2f47bdf4a (diff) |
Fix data race in non-renderable pages
Fixes #1601
Diffstat (limited to 'hugolib/site_test.go')
-rw-r--r-- | hugolib/site_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/site_test.go b/hugolib/site_test.go index 1405210cc..1c0729c09 100644 --- a/hugolib/site_test.go +++ b/hugolib/site_test.go @@ -158,7 +158,7 @@ func TestRenderThing(t *testing.T) { templateName := fmt.Sprintf("foobar%d", i) err = s.addTemplate(templateName, test.template) if err != nil { - t.Fatalf("Unable to add template") + t.Fatalf("Unable to add template: %s", err) } p.Content = template.HTML(p.Content) @@ -203,7 +203,7 @@ func TestRenderThingOrDefault(t *testing.T) { templateName := fmt.Sprintf("default%d", i) err = s.addTemplate(templateName, test.template) if err != nil { - t.Fatalf("Unable to add template") + t.Fatalf("Unable to add template: %s", err) } var err2 error |