diff --git a/crates/fj-core/src/validate/shell.rs b/crates/fj-core/src/validate/shell.rs index d0c44b403..4dbc48a94 100644 --- a/crates/fj-core/src/validate/shell.rs +++ b/crates/fj-core/src/validate/shell.rs @@ -432,28 +432,25 @@ mod tests { [[0., 0., 0.], [0., 1., 0.], [1., 0., 0.], [0., 0., 1.]], &mut services, ); - let invalid = valid.shell.update_face(&valid.abc.face, |_| { - valid - .abc - .face - .update_region(|region| { - region - .update_exterior(|cycle| { - cycle - .update_edge( - cycle.edges().nth_circular(0), - |edge| { - edge.update_curve(|_| { - Curve::new().insert(&mut services) - }) - .insert(&mut services) - }, - ) - .insert(&mut services) - }) - .insert(&mut services) - }) - .insert(&mut services) + let invalid = valid.shell.update_face(&valid.abc.face, |face| { + face.update_region(|region| { + region + .update_exterior(|cycle| { + cycle + .update_edge( + cycle.edges().nth_circular(0), + |edge| { + edge.update_curve(|_| { + Curve::new().insert(&mut services) + }) + .insert(&mut services) + }, + ) + .insert(&mut services) + }) + .insert(&mut services) + }) + .insert(&mut services) }); valid.shell.validate_and_return_first_error()?;