diff --git a/crates/fj-kernel/src/validate/cycle.rs b/crates/fj-kernel/src/validate/cycle.rs index 599df865a..53f502280 100644 --- a/crates/fj-kernel/src/validate/cycle.rs +++ b/crates/fj-kernel/src/validate/cycle.rs @@ -96,7 +96,6 @@ mod tests { use crate::{ assert_contains_err, - builder::CycleBuilder, objects::{Cycle, HalfEdge}, operations::{BuildCycle, BuildHalfEdge, Insert, UpdateCycle}, services::Services, @@ -107,11 +106,8 @@ mod tests { fn half_edges_connected() -> anyhow::Result<()> { let mut services = Services::new(); - let valid = CycleBuilder::polygon( - [[0.0, 0.0], [1.0, 0.0], [1.0, 1.0]], - &mut services, - ) - .build(&mut services); + let valid = + Cycle::polygon([[0.0, 0.0], [1.0, 0.0], [1.0, 1.0]], &mut services); valid.validate_and_return_first_error()?;