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

Function test_edge_display

atomic-core/src/change/provenance_graph/tests.rs:606–613  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

604
605#[test]
606fn test_edge_display() {
607 let edge = make_edge("a", "b", ProvenanceEdgeKind::LedTo);
608 let display = format!("{}", edge);
609
610 assert!(display.contains("a"));
611 assert!(display.contains("b"));
612 assert!(display.contains("led_to"));
613}
614
615// ---- Node detail ----
616

Callers

nothing calls this directly

Calls 1

make_edgeFunction · 0.70

Tested by

no test coverage detected