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

Function test_line_ops_delete

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

Source from the content-addressed store, hash-verified

972
973 #[test]
974 fn test_line_ops_delete() {
975 let ops = LineOps::delete(test_branch_id(5), vec![]);
976
977 assert!(ops.is_delete());
978 assert!(!ops.is_insert());
979 assert_eq!(ops.leaf_op_count(), 0);
980 }
981
982 #[test]
983 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