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

Function test_edit_display

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

InsertionClass · 0.85
test_new_vertexFunction · 0.70

Tested by

no test coverage detected