mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -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
|
||||
|
Reference in New Issue
Block a user