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:1134–1138 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1132
1133
#[test]
1134
fn test_hunk_line_clone() {
1135
let line = HunkLine::added(
"test"
, 1);
1136
let cloned = line.clone();
1137
assert_eq!(line.content, cloned.content);
1138
}
1139
1140
#[test]
1141
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