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

Function test_edit_display

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

Source from the content-addressed store, hash-verified

1075
1076 #[test]
1077 fn test_edit_display() {
1078 let graph_op: GraphOp<Hash> = GraphOp::Edit {
1079 change: Atom::Insertion(test_new_vertex()),
1080 local: Local::new("file.rs", 50),
1081 encoding: None,
1082 };
1083
1084 let display = format!("{}", graph_op);
1085 assert!(display.contains("Edit"));
1086 assert!(display.contains("file.rs"));
1087 assert!(display.contains("50"));
1088 }
1089
1090 // Atom Iterator Tests
1091

Callers

nothing calls this directly

Calls 2

InsertionClass · 0.85
test_new_vertexFunction · 0.70

Tested by

no test coverage detected