MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / lifts_ref_remediates

Function lifts_ref_remediates

atomic-canonical/src/lift.rs:691–699  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

689
690 #[test]
691 fn lifts_ref_remediates() {
692 // `remediates` is an intent→intent ref carried on the same `:::ref` leaf
693 // as `blockedBy`, lifted into `depends_on` with edge="remediates".
694 let body = ":::ref{to=urn:atomic:intent:xyz edge=remediates}\n:::";
695 let node = lift_intent(&fm(), body).unwrap();
696 assert_eq!(node.depends_on.len(), 1);
697 assert_eq!(node.depends_on[0].to, "urn:atomic:intent:xyz");
698 assert_eq!(node.depends_on[0].edge, "remediates");
699 }
700
701 #[test]
702 fn lifts_inline_ref_from_why_prose() {

Callers

nothing calls this directly

Calls 3

lift_intentFunction · 0.85
fmFunction · 0.70
unwrapMethod · 0.45

Tested by

no test coverage detected