From dc363ec356682c948ccd59c3ee535b49c921c34a Mon Sep 17 00:00:00 2001 From: bflatastic Date: Mon, 2 Nov 2026 13:31:22 +0700 Subject: [PATCH] Tests: Convert to Shape beside Offset Path is a style any object takes --- crates/eps/src/import/ai/style/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/eps/src/import/ai/style/tests.rs b/crates/eps/src/import/ai/style/tests.rs index 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]);