aep export: the every-layout test counts from a baseline, not from zero (#3278)

This commit is contained in:
vangel76
2026-11-08 04:41:46 +01:00
parent 9e82a5e704
commit d2359d607e
+3 -2
View File
@@ -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]