mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
resources: Fix test on Windows
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -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)
|
||||
|
Reference in New Issue
Block a user