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

Function test_sync_stats_display_from_scratch

atomic-remote/src/sync.rs:1081–1090  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1079
1080 #[test]
1081 fn test_sync_stats_display_from_scratch() {
1082 let stats = SyncStats {
1083 from_scratch: true,
1084 changelist_entries_fetched: 50,
1085 ..Default::default()
1086 };
1087 let display = format!("{}", stats);
1088 assert!(display.contains("from scratch"));
1089 assert!(display.contains("50"));
1090 }
1091
1092 #[test]
1093 fn test_sync_stats_display_incremental() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected