Browse Source

resources: Fix test on Windows

pull/6112/head
Bjørn Erik Pedersen 6 years ago
parent
commit
e5b6e2085a
No known key found for this signature in database GPG Key ID: 330E6E2BD4859D8F
  1. 1
      .gitignore
  2. 1
      resources/testhelpers_test.go

1
.gitignore

@ -20,5 +20,6 @@ dock.sh
GoBuilds
dist
resources/sunset.jpg
vendor

1
resources/testhelpers_test.go

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

Loading…
Cancel
Save