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

Function lifts_ref_reviews

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

Source from the content-addressed store, hash-verified

440
441 #[test]
442 fn lifts_ref_reviews() {
443 // `reviews` is an intent→intent ref on the same `:::ref` leaf as
444 // `blockedBy`/`remediates`, lifted into depends_on with edge="reviews".
445 let body = ":::ref{to=urn:atomic:intent:xyz edge=reviews}\n:::";
446 let node = lift_intent(&fm(), body).unwrap();
447 assert_eq!(node.depends_on.len(), 1);
448 assert_eq!(node.depends_on[0].to, "urn:atomic:intent:xyz");
449 assert_eq!(node.depends_on[0].edge, "reviews");
450 }
451
452 #[test]
453 fn lifts_scope_in_out_and_constraints() {

Callers

nothing calls this directly

Calls 3

lift_intentFunction · 0.85
fmFunction · 0.70
unwrapMethod · 0.45

Tested by

no test coverage detected