Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_file_diff_clone
Function
test_file_diff_clone
atomic-cli/src/commands/diff/tests.rs:1122–1126 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1120
1121
#[test]
1122
fn test_file_diff_clone() {
1123
let diff = FileDiff::modified(
"test.rs"
);
1124
let cloned = diff.clone();
1125
assert_eq!(diff.old_path, cloned.old_path);
1126
}
1127
1128
#[test]
1129
fn test_diff_cmd_clone() {
Callers
nothing calls this directly
Calls
2
modified
Function · 0.85
clone
Method · 0.45
Tested by
no test coverage detected