shithub: hugo

Download patch

ref: e5b6e2085aba74767ace269cd5f8a746230b4fa4
parent: 77bf2991b1690bcde8c6570cd4c12f2041d93096
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Thu Jul 25 12:54:05 EDT 2019

resources: Fix test on Windows

--- a/.gitignore
+++ b/.gitignore
@@ -20,5 +20,6 @@
 GoBuilds
 dist
 
+resources/sunset.jpg
 
 vendor
\ No newline at end of file
--- a/resources/testhelpers_test.go
+++ b/resources/testhelpers_test.go
@@ -102,7 +102,6 @@
 
 	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)