()
| 389 | |
| 390 | #[test] |
| 391 | fn lifts_ref_dependency() { |
| 392 | let body = ":::ref{to=urn:atomic:intent:xyz edge=blockedBy}\n:::"; |
| 393 | let node = lift_intent(&fm(), body).unwrap(); |
| 394 | assert_eq!(node.depends_on.len(), 1); |
| 395 | assert_eq!(node.depends_on[0].to, "urn:atomic:intent:xyz"); |
| 396 | assert_eq!(node.depends_on[0].edge, "blockedBy"); |
| 397 | // No @type/@id emitted when the directive carries no #id. |
| 398 | assert!(node.depends_on[0].type_.is_none()); |
| 399 | assert!(node.depends_on[0].id.is_none()); |
| 400 | } |
| 401 | |
| 402 | #[test] |
| 403 | fn lifts_inline_ref_from_why_prose() { |
nothing calls this directly
no test coverage detected