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

Function test_line_ops_restore

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

Source from the content-addressed store, hash-verified

1559
1560 #[test]
1561 fn test_line_ops_restore() {
1562 let ops = LineOps::restore(test_branch_id(3));
1563
1564 assert!(ops.is_restore());
1565 assert!(!ops.is_delete());
1566 }
1567
1568 #[test]
1569 fn test_line_ops_display() {

Callers

nothing calls this directly

Calls 2

restoreFunction · 0.85
test_branch_idFunction · 0.85

Tested by

no test coverage detected