From 4f7723a7b6eec25709d7dca8c22b58b04271aee4 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Mon, 5 Oct 2026 14:33:44 +0700 Subject: [PATCH] M13.31: Home size column test uses an unambiguous size (12.5 KB rounds to even) Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/panels/home.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/panels/home.rs b/crates/ui-egui/src/panels/home.rs index 58f669e8..61b59a4f 100644 --- a/crates/ui-egui/src/panels/home.rs +++ b/crates/ui-egui/src/panels/home.rs @@ -530,7 +530,7 @@ mod tests { assert_eq!(format_ago(now, now - 3 * 86_400), "3 days ago"); assert_eq!(format_ago(now, now - 30 * 86_400), "2026-08-22"); assert_eq!(format_ago(now, now + 100), "Just now"); - assert_eq!((format_size(900), format_size(12_800), format_size(3_500_000)), ("900 B".into(), "13 KB".into(), "3.3 MB".into())); + assert_eq!((format_size(900), format_size(13_000), format_size(3_500_000)), ("900 B".into(), "13 KB".into(), "3.3 MB".into())); assert_eq!((kind_of("/a/B.ecproj"), kind_of("c.AEP"), kind_of("x")), ("EffectCraft project", "After Effects project", "Project")); }