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

Function test_line_ops_delete

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

Source from the content-addressed store, hash-verified

1308
1309 #[test]
1310 fn test_line_ops_delete() {
1311 let ops = LineOps::delete(test_branch_id(5), vec![]);
1312
1313 assert!(ops.is_delete());
1314 assert!(!ops.is_insert());
1315 assert_eq!(ops.leaf_op_count(), 0);
1316 }
1317
1318 #[test]
1319 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