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

Function test_line_ops_insert_after

atomic-core/src/change/ops.rs:966–971  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

964
965 #[test]
966 fn test_line_ops_insert_after() {
967 let ops = LineOps::insert(test_branch_id(1), Some(test_branch_id(0)), vec![]);
968
969 assert!(ops.is_insert());
970 assert_eq!(ops.insert_after(), Some(test_branch_id(0)));
971 }
972
973 #[test]
974 fn test_line_ops_delete() {

Callers

nothing calls this directly

Calls 1

test_branch_idFunction · 0.85

Tested by

no test coverage detected