()
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected