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

Function test_edit_display

atomic-core/src/change/graph_op.rs:1092–1103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1090
1091 #[test]
1092 fn test_edit_display() {
1093 let graph_op: GraphOp<Hash> = GraphOp::Edit {
1094 change: Atom::Insertion(test_new_vertex()),
1095 local: Local::new("file.rs", 50),
1096 encoding: None,
1097 };
1098
1099 let display = format!("{}", graph_op);
1100 assert!(display.contains("Edit"));
1101 assert!(display.contains("file.rs"));
1102 assert!(display.contains("50"));
1103 }
1104
1105 // Atom Iterator Tests
1106

Callers

nothing calls this directly

Calls 2

InsertionClass · 0.85
test_new_vertexFunction · 0.70

Tested by

no test coverage detected