Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_hunk_line_clone
Function
test_hunk_line_clone
atomic-cli/src/commands/diff/tests.rs:877–881 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
875
876
#[test]
877
fn test_hunk_line_clone() {
878
let line = HunkLine::added(
"test"
, 1);
879
let cloned = line.clone();
880
assert_eq!(line.content, cloned.content);
881
}
882
883
#[test]
884
fn test_file_diff_clone() {
Callers
nothing calls this directly
Calls
2
added
Function · 0.85
clone
Method · 0.45
Tested by
no test coverage detected