diff --git a/crates/fj-core/src/validation/checks/half_edge_connection.rs b/crates/fj-core/src/validation/checks/half_edge_connection.rs index 5a2dec955..a2ae617e6 100644 --- a/crates/fj-core/src/validation/checks/half_edge_connection.rs +++ b/crates/fj-core/src/validation/checks/half_edge_connection.rs @@ -99,7 +99,10 @@ mod tests { }, &mut core, ); - AdjacentHalfEdgesNotConnected::check_and_expect_one_error(&invalid); + AdjacentHalfEdgesNotConnected::check_and_expect_one_error( + &invalid, + &core.layers.geometry, + ); Ok(()) } diff --git a/crates/fj-core/src/validation/validation_check.rs b/crates/fj-core/src/validation/validation_check.rs index 7190343d4..cfe77fd6e 100644 --- a/crates/fj-core/src/validation/validation_check.rs +++ b/crates/fj-core/src/validation/validation_check.rs @@ -37,7 +37,7 @@ pub trait ValidationCheck: Sized { /// /// This method is designed for convenience over flexibility (it is intended /// for use in unit tests), and thus always uses the default configuration. - fn check_and_expect_one_error(object: &T) -> Self + fn check_and_expect_one_error(object: &T, _: &Geometry) -> Self where Self: Display, {