()
| 490 | |
| 491 | #[test] |
| 492 | fn lifts_ref_dependency() { |
| 493 | let body = ":::ref{to=urn:atomic:intent:xyz edge=blockedBy}\n:::"; |
| 494 | let node = lift_intent(&fm(), body).unwrap(); |
| 495 | assert_eq!(node.depends_on.len(), 1); |
| 496 | assert_eq!(node.depends_on[0].to, "urn:atomic:intent:xyz"); |
| 497 | assert_eq!(node.depends_on[0].edge, "blockedBy"); |
| 498 | // No @type/@id emitted when the directive carries no #id. |
| 499 | assert!(node.depends_on[0].type_.is_none()); |
| 500 | assert!(node.depends_on[0].id.is_none()); |
| 501 | } |
| 502 | |
| 503 | #[test] |
| 504 | fn lifts_inline_ref_from_why_prose() { |
nothing calls this directly
no test coverage detected