mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 03:18:30 +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)]
|
||||
mod tests {
|
||||
use crate::{
|
||||
assert_contains_err,
|
||||
operations::{
|
||||
build::{BuildShell, BuildSketch, BuildSolid},
|
||||
update::{
|
||||
@ -188,11 +187,7 @@ mod tests {
|
||||
},
|
||||
},
|
||||
topology::{Cycle, Face, HalfEdge, Region, Shell, Sketch, Solid},
|
||||
validate::Validate,
|
||||
validation::{
|
||||
checks::MultipleReferencesToObject, ValidationCheck,
|
||||
ValidationError,
|
||||
},
|
||||
validation::{checks::MultipleReferencesToObject, ValidationCheck},
|
||||
Core,
|
||||
};
|
||||
|
||||
@ -412,12 +407,6 @@ mod tests {
|
||||
&core.layers.geometry,
|
||||
).is_err());
|
||||
|
||||
assert_contains_err!(
|
||||
core,
|
||||
invalid,
|
||||
ValidationError::MultipleReferencesToCycle(_)
|
||||
);
|
||||
|
||||
// Ignore remaining validation errors.
|
||||
let _ = core.layers.validation.take_errors();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user