summaryrefslogtreecommitdiffstats
path: root/hugolib/menu_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/menu_test.go')
-rw-r--r--hugolib/menu_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/hugolib/menu_test.go b/hugolib/menu_test.go
index 9ef4d09ad..4eafba47e 100644
--- a/hugolib/menu_test.go
+++ b/hugolib/menu_test.go
@@ -18,6 +18,8 @@ import (
"strings"
"testing"
+ "github.com/spf13/hugo/helpers"
+
"path/filepath"
toml "github.com/pelletier/go-toml"
@@ -673,7 +675,7 @@ func createTestSite(pageSources []source.ByteSource) *Site {
return &Site{
Source: &source.InMemorySource{ByteSource: pageSources},
- Language: newDefaultLanguage(),
+ Language: helpers.NewDefaultLanguage(),
}
}