Integrate typed port authoring and reviewable exchange workflows
This commit is contained in:
@@ -93,6 +93,13 @@ fn functional_creation_reuse_and_item_sync_are_atomic_and_identity_safe() {
|
||||
wrong.source_port = PortChoice::Reuse(input);
|
||||
assert!(plan_functional_exchange(&p, &wrong).is_err());
|
||||
assert!(plan_function_port_items(&p, output, vec![]).is_err());
|
||||
for port in [input, output] {
|
||||
assert!(
|
||||
plan_function_port_items(&p, port, vec![item])
|
||||
.unwrap()
|
||||
.is_empty()
|
||||
);
|
||||
}
|
||||
assert_eq!(session.project(), &p);
|
||||
assert!(ElementBody::new(Kind::Port, Layer::Sa).is_none());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user