aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugofs/fs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugofs/fs_test.go')
-rw-r--r--hugofs/fs_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/hugofs/fs_test.go b/hugofs/fs_test.go
index 509aca62f..b2ed2e86e 100644
--- a/hugofs/fs_test.go
+++ b/hugofs/fs_test.go
@@ -30,7 +30,6 @@ func TestIsOsFs(t *testing.T) {
c.Assert(IsOsFs(&afero.MemMapFs{}), qt.Equals, false)
c.Assert(IsOsFs(afero.NewBasePathFs(&afero.MemMapFs{}, "/public")), qt.Equals, false)
c.Assert(IsOsFs(afero.NewBasePathFs(Os, t.TempDir())), qt.Equals, true)
-
}
func TestNewDefault(t *testing.T) {
@@ -38,7 +37,7 @@ func TestNewDefault(t *testing.T) {
v := config.New()
v.Set("workingDir", t.TempDir())
v.Set("publishDir", "public")
- f := NewDefaultOld(v)
+ f := NewDefault(v)
c.Assert(f.Source, qt.IsNotNil)
c.Assert(f.Source, hqt.IsSameType, new(afero.OsFs))