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

Function test_hunk_line_clone

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

Source from the content-addressed store, hash-verified

1113
1114 #[test]
1115 fn test_hunk_line_clone() {
1116 let line = HunkLine::added("test", 1);
1117 let cloned = line.clone();
1118 assert_eq!(line.content, cloned.content);
1119 }
1120
1121 #[test]
1122 fn test_file_diff_clone() {

Callers

nothing calls this directly

Calls 2

addedFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected