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

Function test_line_ops_delete_empty

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

Source from the content-addressed store, hash-verified

1331
1332 #[test]
1333 fn test_line_ops_delete_empty() {
1334 let ops = LineOps::delete_empty(test_branch_id(5));
1335
1336 assert!(ops.is_delete());
1337 assert_eq!(ops.leaf_op_count(), 0);
1338 }
1339
1340 #[test]
1341 fn test_line_ops_restore() {

Callers

nothing calls this directly

Calls 1

test_branch_idFunction · 0.85

Tested by

no test coverage detected