mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
resources: Fix test on Windows
This commit is contained in:
2 files changed
+1
-1
No files matched your search
@@ -20,5 +20,6 @@ dock.sh
|
|||||||
GoBuilds
|
GoBuilds
|
||||||
dist
|
dist
|
||||||
|
|
||||||
|
resources/sunset.jpg
|
||||||
|
|
||||||
vendor
|
vendor
|
||||||
@@ -102,7 +102,6 @@ func newTestResourceOsFs(assert *require.Assertions) *Spec {
|
|||||||
|
|
||||||
fs := hugofs.NewFrom(hugofs.Os, cfg)
|
fs := hugofs.NewFrom(hugofs.Os, cfg)
|
||||||
fs.Destination = &afero.MemMapFs{}
|
fs.Destination = &afero.MemMapFs{}
|
||||||
fs.Source = afero.NewBasePathFs(hugofs.Os, workDir)
|
|
||||||
|
|
||||||
s, err := helpers.NewPathSpec(fs, cfg, nil)
|
s, err := helpers.NewPathSpec(fs, cfg, nil)
|
||||||
assert.NoError(err)
|
assert.NoError(err)
|
||||||
|
|||||||
Reference in new issue
Block a user