fix(tests): fix testsuite allow to pass push
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user