resources: Fix test on Windows

This commit is contained in:
Bjørn Erik Pedersen committed 2019-07-25 16:54:05 +02:00
1 parent 77bf2991b1
commit e5b6e2085a
2 files changed
+1 -1

No files matched your search

+1
View File
@@ -20,5 +20,6 @@ dock.sh
GoBuilds
dist
resources/sunset.jpg
vendor
-1
View File
@@ -102,7 +102,6 @@ func newTestResourceOsFs(assert *require.Assertions) *Spec {
fs := hugofs.NewFrom(hugofs.Os, cfg)
fs.Destination = &afero.MemMapFs{}
fs.Source = afero.NewBasePathFs(hugofs.Os, workDir)
s, err := helpers.NewPathSpec(fs, cfg, nil)
assert.NoError(err)