From f21fb7259e4afaabf58937ecf402b59e952848c9 Mon Sep 17 00:00:00 2001 From: aiongg <67543387+aiongg@users.noreply.github.com> Date: Thu, 5 Nov 2026 00:42:25 +0000 Subject: [PATCH] Apply review fixes - crates/engine/src/tests.rs --- crates/engine/src/tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/engine/src/tests.rs b/crates/engine/src/tests.rs index d9083994c..5ae698048 100644 --- a/crates/engine/src/tests.rs +++ b/crates/engine/src/tests.rs @@ -6489,7 +6489,8 @@ fn repeated_target_ids_edit_the_shape_once() { let mut s = session(); let r = s.execute("shape.insert", &json!({"preset": "rect", "rect": [100, 100, 300, 100], "text": "x".repeat(100_000)})).unwrap(); let id = r["id"].as_u64().unwrap(); - s.execute("shape.fill", &json!({"ids": vec![id; 50_000], "color": "#ff0000"})).unwrap(); + let edited = s.execute("shape.fill", &json!({"ids": vec![id; 50_000], "color": "#ff0000"})).unwrap(); + assert_eq!(edited, json!(1)); let v = s.execute("shape.inspect", &json!({"id": id})).unwrap(); assert_eq!(v["shape"]["fill"]["color"]["base"]["rgb"], json!({"a": 255, "b": 0, "g": 0, "r": 255})); }