mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
1 parent
b804a70881
commit
514e18dc27
1 file changed
+2
-4
Vendored
+2
-4
@@ -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 := `
|
||||
|
||||
Reference in new issue
Block a user