aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugofs/rootmapping_fs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugofs/rootmapping_fs_test.go')
-rw-r--r--hugofs/rootmapping_fs_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/hugofs/rootmapping_fs_test.go b/hugofs/rootmapping_fs_test.go
index c650e8f11..c843866fc 100644
--- a/hugofs/rootmapping_fs_test.go
+++ b/hugofs/rootmapping_fs_test.go
@@ -20,9 +20,8 @@ import (
"sort"
"testing"
- "github.com/gohugoio/hugo/hugofs/glob"
-
"github.com/gohugoio/hugo/config"
+ "github.com/gohugoio/hugo/hugofs/glob"
qt "github.com/frankban/quicktest"
"github.com/gohugoio/hugo/htesting"
@@ -31,7 +30,7 @@ import (
func TestLanguageRootMapping(t *testing.T) {
c := qt.New(t)
- v := config.New()
+ v := config.NewWithTestDefaults()
v.Set("contentDir", "content")
fs := NewBaseFileDecorator(afero.NewMemMapFs())