aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/data/resources_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/data/resources_test.go')
-rw-r--r--tpl/data/resources_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tpl/data/resources_test.go b/tpl/data/resources_test.go
index 79e9b3907..f6baae18b 100644
--- a/tpl/data/resources_test.go
+++ b/tpl/data/resources_test.go
@@ -27,6 +27,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/afero"
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
@@ -164,7 +165,7 @@ func TestScpGetRemoteParallel(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 {