chore: simplify dlcache initialization

This commit is contained in:
2025-06-25 19:18:11 +03:00
parent db19133254
commit 5e1eeabd04
4 changed files with 7 additions and 11 deletions

View File

@ -155,7 +155,7 @@ func TestDownloadFileWithCache(t *testing.T) {
CacheDisabled: false,
URL: server.URL + "/file",
Destination: tmpdir,
DlCache: dlcache.New(cfg),
DlCache: dlcache.New(cfg.GetPaths().CacheDir),
}
outputFile := path.Join(tmpdir, "file")