From 50b9100971baffd3eb65a281b9b72e0bf0b85d33 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Tue, 3 Nov 2026 13:46:11 +0000 Subject: [PATCH] engine: check the fill colour field in the repeated-ids test --- crates/engine/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/src/tests.rs b/crates/engine/src/tests.rs index 35dae4bd2..feb4c0366 100644 --- a/crates/engine/src/tests.rs +++ b/crates/engine/src/tests.rs @@ -6467,5 +6467,5 @@ fn repeated_target_ids_edit_the_shape_once() { let id = r["id"].as_u64().unwrap(); s.execute("shape.fill", &json!({"ids": vec![id; 50_000], "color": "#ff0000"})).unwrap(); let v = s.execute("shape.inspect", &json!({"id": id})).unwrap(); - assert!(v.to_string().to_lowercase().contains("ff0000"), "{v}"); + assert_eq!(v["shape"]["fill"]["color"]["base"]["rgb"], json!({"a": 255, "b": 0, "g": 0, "r": 255})); }