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

Function test_line_ops_delete

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

Source from the content-addressed store, hash-verified

1528
1529 #[test]
1530 fn test_line_ops_delete() {
1531 let ops = LineOps::delete(test_branch_id(5), vec![]);
1532
1533 assert!(ops.is_delete());
1534 assert!(!ops.is_insert());
1535 assert_eq!(ops.leaf_op_count(), 0);
1536 }
1537
1538 #[test]
1539 fn test_line_ops_delete_with_content() {

Callers

nothing calls this directly

Calls 1

test_branch_idFunction · 0.85

Tested by

no test coverage detected