diff --git a/crates/io/src/design.rs b/crates/io/src/design.rs index a91ef4e90..9e72e896e 100644 --- a/crates/io/src/design.rs +++ b/crates/io/src/design.rs @@ -968,8 +968,8 @@ mod tests { assert!(result.is_err_and(|e| e.to_string().contains("not a regular file"))); } - /// A saved model of one state holding `bodies` (no document evaluated it: enough for the - /// container, which stores whatever model it is given). + /// A saved model of one state holding `bodies`, none made by rounds (no document evaluated + /// it: enough for the container, which stores whatever model it is given). fn saved_model(bodies: Vec) -> solidcraft_doc::SavedModel { let records: Vec = (0..bodies.len()) .map(|i| json!({"name": format!("Body{i}"), "feature": 1, "component": 0, "key": "0000000000000001", "names": 0, "body": i})) @@ -982,6 +982,7 @@ mod tests { records: json!({ "features": [{"id": 1, "fingerprint": "0000000000000000", "ms": 0.0, "skipped": false, "state": 0}], "states": [state], "model_bodies": records, "names": [{"faces": [], "info": []}], "sketches": [], "sheets": [], + "rounds": [], }), bodies, } @@ -1089,7 +1090,7 @@ mod tests { solidcraft_doc::SavedModel { records: json!({ "features": features, "states": states, "model_bodies": records, "names": [{"faces": [], "info": []}], "sketches": [], - "sheets": [], "validation": "each_feature", + "sheets": [], "validation": "each_feature", "rounds": [], }), bodies, }