diff options
Diffstat (limited to 'tpl/transform/transform_test.go')
-rw-r--r-- | tpl/transform/transform_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/transform/transform_test.go b/tpl/transform/transform_test.go index ab3beb804..34de4a6fd 100644 --- a/tpl/transform/transform_test.go +++ b/tpl/transform/transform_test.go @@ -22,6 +22,7 @@ import ( "github.com/gohugoio/hugo/deps" "github.com/gohugoio/hugo/helpers" "github.com/gohugoio/hugo/hugofs" + "github.com/gohugoio/hugo/langs" "github.com/spf13/viper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -240,7 +241,7 @@ func TestPlainify(t *testing.T) { } func newDeps(cfg config.Provider) *deps.Deps { - l := helpers.NewLanguage("en", cfg) + l := langs.NewLanguage("en", cfg) l.Set("i18nDir", "i18n") cs, err := helpers.NewContentSpec(l) if err != nil { |