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

Function test_diff_hunk_clone

atomic-cli/src/commands/diff/tests.rs:1127–1131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1125
1126 #[test]
1127 fn test_diff_hunk_clone() {
1128 let graph_op = DiffHunk::new(1, 5, 1, 6);
1129 let cloned = graph_op.clone();
1130 assert_eq!(graph_op.old_start, cloned.old_start);
1131 }
1132
1133 #[test]
1134 fn test_hunk_line_clone() {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected