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

Function test_line_ops_insert_after

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

Source from the content-addressed store, hash-verified

1520
1521 #[test]
1522 fn test_line_ops_insert_after() {
1523 let ops = LineOps::insert(test_branch_id(1), Some(test_branch_id(0)), vec![]);
1524
1525 assert!(ops.is_insert());
1526 assert_eq!(ops.insert_after(), Some(test_branch_id(0)));
1527 }
1528
1529 #[test]
1530 fn test_line_ops_delete() {

Callers

nothing calls this directly

Calls 2

test_branch_idFunction · 0.85
insertFunction · 0.50

Tested by

no test coverage detected