hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit e5b6e2085aba74767ace269cd5f8a746230b4fa4
parent 77bf2991b1690bcde8c6570cd4c12f2041d93096
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Thu, 25 Jul 2019 16:54:05 +0200

resources: Fix test on Windows

Diffstat:
M.gitignore | 1+
Mresources/testhelpers_test.go | 1-
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
@@ -20,5 +20,6 @@ dock.sh
 GoBuilds
 dist
 
+resources/sunset.jpg
 
 vendor 
\ No newline at end of file
diff --git a/resources/testhelpers_test.go b/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)