diff options
Diffstat (limited to 'tpl/template_test.go')
-rw-r--r-- | tpl/template_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/template_test.go b/tpl/template_test.go index c96b8c87c..2f4946598 100644 --- a/tpl/template_test.go +++ b/tpl/template_test.go @@ -55,7 +55,7 @@ html lang=en for _, root := range []string{"", os.TempDir()} { - templ := New() + templ := New(logger) basePath := this.basePath innerPath := this.innerPath @@ -124,7 +124,7 @@ func TestAddTemplateFileWithMaster(t *testing.T) { } { hugofs.InitMemFs() - templ := New() + templ := New(logger) overlayTplName := "ot" masterTplName := "mt" finalTplName := "tp" @@ -245,7 +245,7 @@ func TestTplGoFuzzReports(t *testing.T) { // Issue #1095 {"{{apply .C \"urlize\" " + "\".\"}}", 2}} { - templ := New() + templ := New(logger) d := &Data{ A: 42, |