fix(tests): fix testsuite allow to pass push

This commit is contained in:
grimhilt committed 2024-03-16 23:57:01 +01:00
1 parent 7180647d26
commit a1b9cde71a
10 files changed
+60 -48

No files matched your search

+2 -5
View File
@@ -93,6 +93,7 @@ impl Downloader {
let mut total_size = 0;
let nb_objs = self.files.len();
// set the full size of the download
self.files
.iter()
.for_each(|f|
@@ -111,11 +112,7 @@ impl Downloader {
let should_use_stream = {
if let Some(size) = file.contentlength {
if size > SIZE_TO_STREAM {
true
} else {
false
}
size > SIZE_TO_STREAM
} else {
false
}