mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-28 22:11:48 -05:00
parent
b804a70881
commit
514e18dc27
1 changed files with 2 additions and 4 deletions
6
cache/filecache/filecache_test.go
vendored
6
cache/filecache/filecache_test.go
vendored
|
@ -49,15 +49,13 @@ func TestFileCache(t *testing.T) {
|
|||
|
||||
osfs := afero.NewOsFs()
|
||||
|
||||
existingCacheDir := helpers.GetTempDir("hugo_filecache_test_cache_existing", osfs)
|
||||
existingWorkingDir := helpers.GetTempDir("hugo_filecache_test_work_existing", osfs)
|
||||
|
||||
for _, test := range []struct {
|
||||
cacheDir string
|
||||
workingDir string
|
||||
}{
|
||||
// Run with same dirs twice to make sure that works.
|
||||
{tempCacheDir, tempWorkingDir},
|
||||
{tempCacheDir, tempWorkingDir},
|
||||
{existingCacheDir, existingWorkingDir},
|
||||
} {
|
||||
|
||||
configStr := `
|
||||
|
|
Loading…
Reference in a new issue