mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-14 22:33:09 +00:00
aep export: the every-layout test counts from a baseline, not from zero (#3278)
This commit is contained in:
1 parent
9e82a5e704
commit
d2359d607e
1 file changed
+3
-2
@@ -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