()
| 677 | |
| 678 | #[test] |
| 679 | fn lifts_ref_dependency() { |
| 680 | let body = ":::ref{to=urn:atomic:intent:xyz edge=blockedBy}\n:::"; |
| 681 | let node = lift_intent(&fm(), body).unwrap(); |
| 682 | assert_eq!(node.depends_on.len(), 1); |
| 683 | assert_eq!(node.depends_on[0].to, "urn:atomic:intent:xyz"); |
| 684 | assert_eq!(node.depends_on[0].edge, "blockedBy"); |
| 685 | // No @type/@id emitted when the directive carries no #id. |
| 686 | assert!(node.depends_on[0].type_.is_none()); |
| 687 | assert!(node.depends_on[0].id.is_none()); |
| 688 | } |
| 689 | |
| 690 | #[test] |
| 691 | fn lifts_ref_remediates() { |
nothing calls this directly
no test coverage detected