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

Function test_file_diff_clone

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

Source from the content-addressed store, hash-verified

1139
1140 #[test]
1141 fn test_file_diff_clone() {
1142 let diff = FileDiff::modified("test.rs");
1143 let cloned = diff.clone();
1144 assert_eq!(diff.old_path, cloned.old_path);
1145 }
1146
1147 #[test]
1148 fn test_diff_cmd_clone() {

Callers

nothing calls this directly

Calls 2

modifiedFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected