mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-11 18:57:01 +00:00
Expect &Geometry
in ValidationCheck
method
This commit is contained in:
parent
97ac5c1f75
commit
5e2a9776e5
@ -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(())
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ pub trait ValidationCheck<T>: 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,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user