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})); }