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

Function test_file_diff_stats_clone

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

Source from the content-addressed store, hash-verified

1102
1103 #[test]
1104 fn test_file_diff_stats_clone() {
1105 let stats = FileDiffStats::new("test.rs", 10, 5, 'M');
1106 let cloned = stats.clone();
1107 assert_eq!(stats.path, cloned.path);
1108 assert_eq!(stats.insertions, cloned.insertions);
1109 }
1110
1111 #[test]
1112 fn test_diff_stats_clone() {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected