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

Function test_edge_display

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

Source from the content-addressed store, hash-verified

652
653#[test]
654fn test_edge_display() {
655 let edge = make_edge("a", "b", ProvenanceEdgeKind::LedTo);
656 let display = format!("{}", edge);
657
658 assert!(display.contains("a"));
659 assert!(display.contains("b"));
660 assert!(display.contains("led_to"));
661}
662
663// ---- Node detail ----
664

Callers

nothing calls this directly

Calls 1

make_edgeFunction · 0.70

Tested by

no test coverage detected