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:884–888 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
882
883
#[test]
884
fn test_file_diff_clone() {
885
let diff = FileDiff::modified(
"test.rs"
);
886
let cloned = diff.clone();
887
assert_eq!(diff.old_path, cloned.old_path);
888
}
889
890
#[test]
891
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