From af262f8402529c3259174644f0d5ff2ca0545715 Mon Sep 17 00:00:00 2001 From: Ignacio Duart Date: Sat, 19 Oct 2024 20:04:45 +0200 Subject: [PATCH] fix: formatting --- crates/core/src/transport/connection_handler.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/crates/core/src/transport/connection_handler.rs b/crates/core/src/transport/connection_handler.rs index 6daca0419..3a45c50ca 100644 --- a/crates/core/src/transport/connection_handler.rs +++ b/crates/core/src/transport/connection_handler.rs @@ -1580,9 +1580,17 @@ mod test { ) .inspect(move |r| { let msg = if r.is_ok() { - format!("successfully, total time: {}s (t/o: {}s, factor: {factor:.3})", now.elapsed().as_secs(), wait_time.as_secs()) + format!( + "successfully, total time: {}s (t/o: {}s, factor: {factor:.3})", + now.elapsed().as_secs(), + wait_time.as_secs() + ) } else { - format!("with error, total time: {}s (t/o: {}s, factor: {factor:.3})", now.elapsed().as_secs(), wait_time.as_secs()) + format!( + "with error, total time: {}s (t/o: {}s, factor: {factor:.3})", + now.elapsed().as_secs(), + wait_time.as_secs() + ) }; if r.is_err() { tracing::error!("test #{test_no} finished {}", msg);