From c3b10ed372eb3513429baa08a720c21694841e5e Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 26 Sep 2026 11:23:09 -0400 Subject: [PATCH] Format the download description test --- ui/dr-ui/src/activity.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/dr-ui/src/activity.rs b/ui/dr-ui/src/activity.rs index a0f1cb6..232304d 100644 --- a/ui/dr-ui/src/activity.rs +++ b/ui/dr-ui/src/activity.rs @@ -526,7 +526,10 @@ mod tests { #[test] fn a_download_reads_as_what_it_knows() { let mb = 1024 * 1024; - assert_eq!(describe_download(0, None), ("Downloading…".to_string(), -1.0)); + assert_eq!( + describe_download(0, None), + ("Downloading…".to_string(), -1.0) + ); assert_eq!( describe_download(0, Some(38 * mb)), ("Downloading 38.0 MB".to_string(), 0.0)