PR #11092: the Artboard filter control test expects the error to list group

Co-Authored-By: Nurana100 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
committed 2026-11-06 15:49:53 +01:00
1 parent 2a9426cfe2
commit 32ca273fe6
1 file changed
+1 -1
+1 -1
View File
@@ -890,7 +890,7 @@ fn ui_set_drives_the_layers_panel_artboard_filter() {
assert_eq!(app.ui.layer_filter_by, FilterBy::Artboard);
let bad = call(&mut app, &ctx, "ui.set", json!({"layerFilter": {"by": "artboards"}}));
assert_eq!(bad["ok"], false, "{bad}");
assert!(bad.to_string().contains("kind, name, effect, mode, attribute, color, smartObject or artboard"), "{bad}");
assert!(bad.to_string().contains("kind, name, effect, mode, attribute, color, smartObject, artboard or group"), "{bad}");
assert_eq!(app.ui.layer_filter_by, FilterBy::Artboard, "a bad value changed nothing");
}