mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 19:38:29 +00:00
Remove redundant check in test
This commit is contained in:
parent
30e5c0ba72
commit
d43a206d8c
@ -179,7 +179,6 @@ impl<T, U> ReferenceCounter<T, U> {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use crate::{
|
use crate::{
|
||||||
assert_contains_err,
|
|
||||||
operations::{
|
operations::{
|
||||||
build::{BuildShell, BuildSketch, BuildSolid},
|
build::{BuildShell, BuildSketch, BuildSolid},
|
||||||
update::{
|
update::{
|
||||||
@ -188,11 +187,7 @@ mod tests {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
topology::{Cycle, Face, HalfEdge, Region, Shell, Sketch, Solid},
|
topology::{Cycle, Face, HalfEdge, Region, Shell, Sketch, Solid},
|
||||||
validate::Validate,
|
validation::{checks::MultipleReferencesToObject, ValidationCheck},
|
||||||
validation::{
|
|
||||||
checks::MultipleReferencesToObject, ValidationCheck,
|
|
||||||
ValidationError,
|
|
||||||
},
|
|
||||||
Core,
|
Core,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -412,12 +407,6 @@ mod tests {
|
|||||||
&core.layers.geometry,
|
&core.layers.geometry,
|
||||||
).is_err());
|
).is_err());
|
||||||
|
|
||||||
assert_contains_err!(
|
|
||||||
core,
|
|
||||||
invalid,
|
|
||||||
ValidationError::MultipleReferencesToCycle(_)
|
|
||||||
);
|
|
||||||
|
|
||||||
// Ignore remaining validation errors.
|
// Ignore remaining validation errors.
|
||||||
let _ = core.layers.validation.take_errors();
|
let _ = core.layers.validation.take_errors();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user