Skip to content
Permalink
Browse files

resources: Fix test on Windows

  • Loading branch information...
bep committed Jul 25, 2019
1 parent 77bf299 commit e5b6e2085aba74767ace269cd5f8a746230b4fa4
Showing with 1 addition and 1 deletion.
  1. +1 −0 .gitignore
  2. +0 −1 resources/testhelpers_test.go
@@ -20,5 +20,6 @@ dock.sh
GoBuilds
dist

resources/sunset.jpg

vendor
@@ -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)

0 comments on commit e5b6e20

Please sign in to comment.
You can’t perform that action at this time.