Feature fields: a type for each role (Expr, BodyName, FacePick…) (#1273)
Thanks @jijinbei.
This commit is contained in:
1 parent
3333f8a62b
commit
44968dbfe6
59 files changed
+1505
-1043
No files matched your search
@@ -837,7 +837,7 @@ mod tests {
|
||||
solidcraft_doc::FeatureKind::Move { bodies, .. } => Some(bodies.clone()),
|
||||
_ => None,
|
||||
});
|
||||
assert_eq!(moved, Some(vec!["Lid".to_string()]), "the move follows the rename");
|
||||
assert_eq!(moved, Some(vec![solidcraft_doc::BodyName::from("Lid")]), "the move follows the rename");
|
||||
assert!(s.model.results.iter().all(|r| r.error.is_none()));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user