VectorCraft: An open-source, vector art tool written by scratch in pure Rust
Tests: Convert to Shape beside Offset Path is a style any object takes
bflatasticdc363ec35668
diff --git a/crates/eps/src/import/ai/style/tests.rs b/crates/eps/src/import/ai/style/tests.rsindex eeb5c8847..65dd452bb 100644--- a/crates/eps/src/import/ai/style/tests.rs+++ b/crates/eps/src/import/ai/style/tests.rs@@ -677,8 +677,8 @@ fn convert_to_shape_keeps_its_place_among_effects_and_its_visibility() {assert!(st.plain, "{st:?}");let ids: Vec<_> = st.effects.iter().map(|e| e.id.as_str()).collect();assert_eq!(ids, ["convertToShape.rectangle", "path.offsetPath"]);- // Offset Path isn't read on objects other than type yet.- assert!(!st.simple);+ // Offset Path is read on any object too.+ assert!(st.simple);// A hidden one stays, hidden, with its settings.let hidden = shape(&format!("1 /Int (Shape) ,\n0 /Real (Absolute) ,\n{SIZES}")).replacen("1 /Visible", "0 /Visible", 1);let st = shape_style(&[hidden]);