summaryrefslogtreecommitdiffstats
path: root/tpl/partials/init_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/partials/init_test.go')
-rw-r--r--tpl/partials/init_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tpl/partials/init_test.go b/tpl/partials/init_test.go
index 4832e6b66..0513f1572 100644
--- a/tpl/partials/init_test.go
+++ b/tpl/partials/init_test.go
@@ -16,6 +16,7 @@ package partials
import (
"testing"
+ "github.com/gohugoio/hugo/common/loggers"
"github.com/gohugoio/hugo/deps"
"github.com/gohugoio/hugo/tpl/internal"
"github.com/stretchr/testify/require"
@@ -28,6 +29,7 @@ func TestInit(t *testing.T) {
for _, nsf := range internal.TemplateFuncsNamespaceRegistry {
ns = nsf(&deps.Deps{
BuildStartListeners: &deps.Listeners{},
+ Log: loggers.NewErrorLogger(),
})
if ns.Name == name {
found = true