From c35aaec84d7bb2cf0b102385163b681efe456e2c Mon Sep 17 00:00:00 2001 From: aiongg <67543387+aiongg@users.noreply.github.com> Date: Fri, 9 Oct 2026 19:51:14 +0000 Subject: [PATCH] test: check root values that every compared pair has --- src/idml/values.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/idml/values.rs b/src/idml/values.rs index 40578f3..21f1593 100644 --- a/src/idml/values.rs +++ b/src/idml/values.rs @@ -435,11 +435,11 @@ mod tests { let old = root_style("ParagraphStyle", 7); let new = root_style("ParagraphStyle", 21); assert_eq!(old.attr("KeepFirstLines"), Some("2")); - assert_eq!(old.attr("KeepAllLinesTogether"), Some("false")); + assert_eq!(old.attr("KeepLastLines"), Some("2")); assert!(old.attr("EmitCss").is_none()); assert_eq!(new.attr("EmitCss"), Some("true")); let props = new.child("Properties").unwrap(); - assert!(props.child("RuleAboveType").is_some()); + assert!(props.child("RuleBelowGapColor").is_some()); assert!(props.child("ParagraphBorderType").is_some()); let os = root_style("ObjectStyle", 21); assert!(