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

@ -64,7 +64,7 @@ func TestNew(t *testing.T) {
cfg := prepare(t)
defer cleanup(t, cfg)
dc := dlcache.New(cfg)
dc := dlcache.New(cfg.GetPaths().CacheDir)
ctx := context.Background()