From e5b6e2085aba74767ace269cd5f8a746230b4fa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 25 Jul 2019 16:54:05 +0200 Subject: [PATCH] resources: Fix test on Windows --- .gitignore | 1 + resources/testhelpers_test.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 89244f128d4..e71fe6c002b 100644 --- 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 index 1b2be00d703..8aeb1768f19 100644 --- 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)