Skip to content

Commit

Permalink
resources: Fix test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Jul 25, 2019
1 parent 77bf299 commit e5b6e20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -20,5 +20,6 @@ dock.sh
GoBuilds
dist

resources/sunset.jpg

vendor
1 change: 0 additions & 1 deletion resources/testhelpers_test.go
Expand Up @@ -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)
Expand Down

0 comments on commit e5b6e20

Please sign in to comment.