mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-15 19:24:45 +00:00
aep export: the every-layout test counts from a baseline, not from zero (#3278)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user