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

Function test_diff_stats_new

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

Source from the content-addressed store, hash-verified

176
177 #[test]
178 fn test_diff_stats_new() {
179 let stats = DiffStats::new();
180 assert_eq!(stats.file_count(), 0);
181 assert_eq!(stats.total_insertions(), 0);
182 assert_eq!(stats.total_deletions(), 0);
183 }
184
185 #[test]
186 fn test_diff_stats_add_file() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected