tests: add tests for dl

This commit is contained in:
2025-01-31 16:56:26 +03:00
parent 99ec48c4c6
commit 0d1db212e1
7 changed files with 192 additions and 49 deletions

View File

@ -143,7 +143,7 @@ func (FileDownloader) Download(ctx context.Context, opts Options) (Type, string,
return 0, "", err
}
r.Close()
out.Close()
// out.Close()
// Проверка контрольной суммы
if opts.Hash != nil {