From 67b7f82cff63b2e5d835f44df01c41562b307610 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Tue, 13 Oct 2026 04:15:51 -0400 Subject: [PATCH] Chart legend test: a chart with a real namespace and a bar chart, as the reader needs Co-Authored-By: Claude Opus 5.5 (1M context) --- crates/pptx/src/read/chart.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/pptx/src/read/chart.rs b/crates/pptx/src/read/chart.rs index a7b7c7e..9c6bf4b 100644 --- a/crates/pptx/src/read/chart.rs +++ b/crates/pptx/src/read/chart.rs @@ -234,11 +234,11 @@ mod tests { #[test] fn legend_position_and_overlay_are_read() { let legend = r#""#; - let xml = format!(r#"{legend}"#); + let xml = format!(r#"{legend}"#); let c = read_chart_xml(xml.as_bytes()).unwrap(); assert_eq!(c.legend.as_deref(), Some("r")); assert!(c.legend_overlay); - let xml = br#""#; + let xml = br#""#; let c = read_chart_xml(xml).unwrap(); assert_eq!(c.legend.as_deref(), Some("r")); assert!(!c.legend_overlay);