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

Function test_edit_display

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

Source from the content-addressed store, hash-verified

791
792 #[test]
793 fn test_edit_display() {
794 let graph_op: GraphOp<Hash> = GraphOp::Edit {
795 change: Atom::Insertion(test_new_vertex()),
796 local: Local::new("file.rs", 50),
797 encoding: None,
798 };
799
800 let display = format!("{}", graph_op);
801 assert!(display.contains("Edit"));
802 assert!(display.contains("file.rs"));
803 assert!(display.contains("50"));
804 }
805
806 // Atom Iterator Tests
807

Callers

nothing calls this directly

Calls 2

InsertionClass · 0.85
test_new_vertexFunction · 0.70

Tested by

no test coverage detected