From d2359d607ea345420e5883843018ec2c5583588a Mon Sep 17 00:00:00 2001 From: vangel76 Date: Sun, 8 Nov 2026 04:41:46 +0100 Subject: [PATCH] aep export: the every-layout test counts from a baseline, not from zero (#3278) --- crates/aep/src/export/tree.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/aep/src/export/tree.rs b/crates/aep/src/export/tree.rs index f975e1668..9c71a27b8 100644 --- a/crates/aep/src/export/tree.rs +++ b/crates/aep/src/export/tree.rs @@ -213,9 +213,10 @@ mod tests { /// text, cameras, lights, shapes, styles) are built and no write went out of range. #[test] fn every_fixed_layout_fits() { - assert_eq!(fixed_layout_errors(), 0); + // A delta: other tests on this thread may have counted a broken layout on purpose. + let before = fixed_layout_errors(); assert!(crate::export::template::Template::load().is_ok()); - assert_eq!(fixed_layout_errors(), 0); + assert_eq!(fixed_layout_errors(), before); } #[test]