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

Function test_node_display

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

Source from the content-addressed store, hash-verified

660
661#[test]
662fn test_node_display() {
663 let node = make_goal("n-1", "Fix the bug");
664 let display = format!("{}", node);
665
666 assert!(display.contains("n-1"));
667 assert!(display.contains("goal"));
668 assert!(display.contains("Fix the bug"));
669}
670
671#[test]
672fn test_edge_display() {

Callers

nothing calls this directly

Calls 1

make_goalFunction · 0.85

Tested by

no test coverage detected