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:997–1002  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

995
996 #[test]
997 fn test_line_ops_delete_empty() {
998 let ops = LineOps::delete_empty(test_branch_id(5));
999
1000 assert!(ops.is_delete());
1001 assert_eq!(ops.leaf_op_count(), 0);
1002 }
1003
1004 #[test]
1005 fn test_line_ops_restore() {

Callers

nothing calls this directly

Calls 1

test_branch_idFunction · 0.85

Tested by

no test coverage detected