Fix a broken test on Windows

This commit is contained in:
Igor Katson 2024-08-23 19:37:31 +01:00
parent 9e7b656f0b
commit 0c06601b34
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
3 changed files with 22 additions and 16 deletions

View file

@ -7,7 +7,7 @@ use anyhow::Context;
use librqbit_core::lengths::Lengths;
use size_format::SizeFormatterBinary as SF;
use tracing::{debug, info, warn};
use tracing::{info, trace, warn};
use crate::{
api::TorrentIdOrHash,
@ -159,7 +159,7 @@ impl TorrentStateInitializing {
fi.relative_filename, fi.len, err
);
} else {
debug!(
trace!(
"Set length for file {:?} to {} in {:?}",
fi.relative_filename,
SF::new(fi.len),