engine: check the fill colour field in the repeated-ids test

This commit is contained in:
Dylan M. Taylor
2026-11-03 13:46:11 +00:00
parent 9405a06993
commit 50b9100971
+1 -1
View File
@@ -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}));
}